Package com.uc4.api.objects
Interface ITaskItem
-
- All Known Implementing Classes:
JobPlanTask
,ScheduleTask
public interface ITaskItem
Contains common methods of tasks in a Workflow and Schedule.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskCalendar
calendar()
Gets the calendar condition of this task.java.lang.String
getIdnr()
Returns the ID of thisor ScheduleTask
task.int
getLnr()
Returns number containing the order of activation.java.lang.String
getTaskName()
Gets the name of this Schedule or Workflow task.java.lang.String
getType()
Returns the object type of this task.boolean
hasCalendarCondition()
boolean
hasRuntimeCondition()
TaskRuntime
runtime()
Returns the runtime settings of this task.TaskValues
values()
Provides access to the values and PromptSets of a Schedule or Workflow task.
-
-
-
Method Detail
-
getTaskName
java.lang.String getTaskName()
Gets the name of this Schedule or Workflow task.- Returns:
- Name of the task
-
getType
java.lang.String getType()
Returns the object type of this task.- Returns:
- Object type
-
calendar
TaskCalendar calendar()
Gets the calendar condition of this task.- Returns:
- TaskCalendar containing the calendar conditions
-
values
TaskValues values()
Provides access to the values and PromptSets of a Schedule or Workflow task.- Returns:
- Values and PromptSets
-
runtime
TaskRuntime runtime()
Returns the runtime settings of this task.- Returns:
- Runtime settings
-
hasCalendarCondition
boolean hasCalendarCondition()
- Returns:
- true if this task has a calendar condition.
-
hasRuntimeCondition
boolean hasRuntimeCondition()
- Returns:
- true if this task has a runtime condition.
-
getIdnr
java.lang.String getIdnr()
Returns the ID of thisor ScheduleTask
task.- Returns:
- String containing the ID
-
getLnr
int getLnr()
Returns number containing the order of activation. A task with Lnr = 1 is executed first.- Returns:
- Order of activation
-
-