Class DtoTask

java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoTask
All Implemented Interfaces:
IDtoTask

public class DtoTask extends Object implements IDtoTask
Something that has to planned and can be executed by some process.
  • Constructor Details

    • DtoTask

      protected DtoTask()
    • DtoTask

      public DtoTask(String id)
  • Method Details

    • getId

      public String getId()
      Unique Id of the task.
      Specified by:
      getId in interface IDtoTask
    • setId

      public void setId(String id)
      Unique Id of the task.
      Specified by:
      setId in interface IDtoTask
    • getParameters

      public IDtoTaskParameterDeclaration[] getParameters()
      The different parameters that this task has. They define an interface that all ProductionJobs that require this task must provide. You can only use this interface when implementing a runModel for a process capable of executing this task.
      Specified by:
      getParameters in interface IDtoTask
    • setParameters

      public void setParameters(IDtoTaskParameterDeclaration[] parameters)
      The different parameters that this task has. They define an interface that all ProductionJobs that require this task must provide. You can only use this interface when implementing a runModel for a process capable of executing this task.
      Specified by:
      setParameters in interface IDtoTask
    • withId

      public DtoTask withId(String id)
      Unique Id of the task.
    • withParameters

      public DtoTask withParameters(IDtoTaskParameterDeclaration[] parameters)
      The different parameters that this task has. They define an interface that all ProductionJobs that require this task must provide. You can only use this interface when implementing a runModel for a process capable of executing this task.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object