Interface TaskObject

    • Method Detail

      • getType

        TaskObject.TYPES getType()
        Returns the type of the task.
        Returns:
        Type of the task.
      • setType

        void setType​(TaskObject.TYPES type)
        Sets the type of the task.
        Parameters:
        type - Type of the task.
      • getInputDataflowRefs

        List<DataReferenceObject> getInputDataflowRefs()
        Returns the list of input-dataobjects.
        Returns:
        List of input-dataobjects.
      • getInputDataflowIDs

        List<String> getInputDataflowIDs()
        Returns the list of IDs of input-dataobjects.
      • getOutputDataflowRefs

        List<DataReferenceObject> getOutputDataflowRefs()
        Returns the list of output-dataobjects.
        Returns:
        List of output-dataobjects.
      • getOutputDataflowIDs

        List<String> getOutputDataflowIDs()
        Returns the list of IDs of output.dataobjects.
      • addInputDataflowRef

        void addInputDataflowRef​(DataReferenceObject newInputObject)
        Adds a dataobject to the list of input-dataobjects.
        Parameters:
        newInputObject - New input-dataobject.
      • addOutputDataflowRef

        void addOutputDataflowRef​(DataReferenceObject newOutputObject)
        Adds a dataobject to the list of output-dataobjects.
        Parameters:
        newOutputObject - New output-dataobject.
      • addInputDataflowRef

        void addInputDataflowRef​(String newInputId)
        Adds a dataobject to the list of input-dataobjects.
        Parameters:
        newInputId - The Id of the data-object.
      • addOutputDataflowRef

        void addOutputDataflowRef​(String newOutputId)
        Adds a dataobject to the list of output-dataobjects.
        Parameters:
        newOutputId - The Id of the data-object.
      • removeInputDataflowRef

        boolean removeInputDataflowRef​(String id)
        Removes the input-dataobject with the given id from the list.
        Parameters:
        id - Id of the input-dataobject to remove.
        Returns:
        TRUE if the removal was successful, FALSE otherwise.
      • removeOutputDataflowRef

        boolean removeOutputDataflowRef​(String id)
        Removes the output-dataobject with the given id from the list.
        Parameters:
        id - Id of the output-dataobject to remove.
        Returns:
        TRUE if the removal was successful, FALSE otherwise.
      • getInputDataflow

        DataReferenceObject getInputDataflow​(String id)
        Returns the input-dataobject with the given id.
        Parameters:
        id - Id of the input-dataobject to return.
        Returns:
        The input-dataobject, if the object was found; NULL otherwise.
      • getOutputDataflow

        DataReferenceObject getOutputDataflow​(String id)
        Returns the output-dataobject with the given id.
        Parameters:
        id - Id of the output-dataobject to return.
        Returns:
        The output-dataobject, if the object was found; NULL otherwise.