Package net.sf.pipet.modules

Examples of net.sf.pipet.modules.ExternalCommand$Job


    HashMap<String, ParamValue> newJobParams = new HashMap<String, ParamValue>( jobParams );
    newJobParams.put( "newKey", new StringParamValue( "" ) );
    schedulerSvc.updateJobToUseSimpleTrigger( jobId, newJobParams, jobTrigger );

    Assert.assertEquals( 1, schedulerSvc.getJobs().length );
    Job job = schedulerSvc.getJobs()[0];
    jobTrigger = (SimpleJobTrigger) job.getJobTrigger();
    Assert.assertEquals( 40, jobTrigger.getRepeatInterval() );
    Assert.assertEquals( 50, jobTrigger.getRepeatCount() );
    Assert.assertTrue( job.getJobParams().containsKey( "newKey" ) );

    jobTrigger.getStartTime() ;
    Assert.assertEquals( new Date(start), jobTrigger.getStartTime());

    Assert.assertEquals( new Date(end), jobTrigger.getEndTime() );
View Full Code Here

TOP

Related Classes of net.sf.pipet.modules.ExternalCommand$Job

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.