Package org.apache.uima.ducc.transport.event.cli

Examples of org.apache.uima.ducc.transport.event.cli.ServiceRequestProperties


     *        stdout.
     */
    public DuccManagedReservationSubmit(String[] args, IDuccCallback consoleCb)
        throws Exception
    {
        serviceRequestProperties = new ServiceRequestProperties();
        init (this.getClass().getName(), opts, args, serviceRequestProperties, consoleCb);
    }
View Full Code Here


     */
    public DuccManagedReservationSubmit(ArrayList<String> args, IDuccCallback consoleCb)
        throws Exception
    {
        String[] arg_array = args.toArray(new String[args.size()]);
        serviceRequestProperties = new ServiceRequestProperties();  
        init (this.getClass().getName(), opts, arg_array, serviceRequestProperties, consoleCb);
    }
View Full Code Here

     *        stdout.
     */
    public DuccManagedReservationSubmit(Properties props, IDuccCallback consoleCb)
        throws Exception
    {
        serviceRequestProperties = new ServiceRequestProperties();
        init (this.getClass().getName(), opts, props, serviceRequestProperties, consoleCb);
    }
View Full Code Here

     */
    public boolean execute() throws Exception
    {

        // Create a copy to be saved later without these 3 "ducclet" properties required by DUCC
        ServiceRequestProperties serviceProperties = (ServiceRequestProperties)serviceRequestProperties.clone();
        serviceRequestProperties.setProperty(UiOption.ProcessThreadCount.pname(), "1");
        serviceRequestProperties.setProperty(UiOption.ProcessDeploymentsMax.pname(), "1");    
        serviceRequestProperties.setProperty(UiOption.ServiceTypeOther.pname(), "");
       
        SubmitServiceDuccEvent ev = new SubmitServiceDuccEvent(serviceRequestProperties);
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.transport.event.cli.ServiceRequestProperties

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.