Package uk.org.ogsadai.activity.io

Examples of uk.org.ogsadai.activity.io.TypedOptionalActivityInput


    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TypedActivityInput(INPUT_DATA, Serializable.class),
                new TypedOptionalActivityInput(INPUT_BLOCK_SIZE, Number.class, 1024)
        };
    }
View Full Code Here


    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TypedOptionalActivityInput(INPUT_FILENAME, String.class, ""),
                new InputStreamActivityInput(INPUT_DATA)
                };
    }
View Full Code Here

    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TypedActivityInput(INPUT_GATEWAY_URI, String.class),
                new TypedActivityInput(INPUT_RESULT_NAME, String.class),
                new TypedOptionalActivityInput(INPUT_POLL_INTERVAL,
                        Number.class, 500) };
    }
View Full Code Here

        inputs.add(dataInput);

        // set up block reader for options input
        BlockReader options = getInput(INPUT_OPTIONS);

        TypedOptionalActivityInput optionsInput =
            new TypedOptionalActivityInput(INPUT_OPTIONS, Object.class, DEFAULT_OPTIONS);
        optionsInput.setBlockReader(options);
        inputs.add(optionsInput);
       

       
       
       
        BlockReader outputFreq = getInput(INPUT_OUTPUT_FREQUENCY);

        TypedOptionalActivityInput outputFreqInput =
            new TypedOptionalActivityInput(INPUT_OUTPUT_FREQUENCY, Object.class, 100000);
        outputFreqInput.setBlockReader(outputFreq);
        inputs.add(outputFreqInput);
       
        BlockReader algorithm = getInput(INPUT_ALGORITHM);
        TypedOptionalActivityInput algorithmInput =
            new TypedOptionalActivityInput(INPUT_ALGORITHM, Object.class, DEFAULT_ALGORITHM);
        algorithmInput.setBlockReader(algorithm);
        inputs.add(algorithmInput);
        // set up block reader for indexes of nominal values columns
        BlockReader indexes = getInput(INPUT_COLUMN_INDICES);
        TypedOptionalListActivityInput nomValIndexesInput = new TypedOptionalListActivityInput(INPUT_COLUMN_INDICES, Number.class);
        if(nomValIndexesInput != null && indexes != null)
View Full Code Here

        inputs.add(dataInput);

        // set up block reader for options input
        BlockReader options = getInput(INPUT_OPTIONS);

        TypedOptionalActivityInput optionsInput =
            new TypedOptionalActivityInput(INPUT_OPTIONS, Object.class, DEFAULT_OPTIONS);
        optionsInput.setBlockReader(options);
        inputs.add(optionsInput);
       
        // set up block reader for options input
        BlockReader algorithm = getInput(INPUT_ALGORITHM_CLASS);
       
        TypedOptionalActivityInput algorithmInput =
            new TypedOptionalActivityInput(INPUT_ALGORITHM_CLASS, Object.class, DEFAULT_ALGORITHM);
        algorithmInput.setBlockReader(algorithm);
        inputs.add(algorithmInput);
       
        // set up block reader for indexes of nominal values columns
        BlockReader indexes = getInput(INPUT_COLUMN_INDICES);
        TypedOptionalListActivityInput nomValIndexesInput = new TypedOptionalListActivityInput(INPUT_COLUMN_INDICES, Number.class);
View Full Code Here

    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[]
        {
            // Input 0
            new TypedOptionalActivityInput(INPUT_GROUP_ID, String.class),
        };
    }
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.activity.io.TypedOptionalActivityInput

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.