Package | Description |
---|---|
io.cdap.cdap.api |
Interfaces for program and resource specifications, program lifecycle, runtime context and
processors.
|
io.cdap.cdap.api.schedule |
For running programs periodically.
|
Modifier and Type | Field and Description |
---|---|
static Set<ProgramStatus> |
ProgramStatus.TERMINAL_STATES |
Modifier and Type | Method and Description |
---|---|
ProgramStatus |
ProgramState.getStatus()
Return the
ProgramStatus of the program. |
static ProgramStatus |
ProgramStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgramStatus[] |
ProgramStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ProgramState(ProgramStatus status,
String failureInfo)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
ProgramStatus |
ProgramStatusTriggerInfo.getProgramStatus() |
Modifier and Type | Method and Description |
---|---|
Trigger |
TriggerFactory.onProgramStatus(ProgramType programType,
String program,
ProgramStatus... programStatuses)
Creates a trigger which is satisfied when the given program in the same namespace, application,
and application version transitions to any one of the given program statuses.
|
Trigger |
TriggerFactory.onProgramStatus(String application,
ProgramType programType,
String program,
ProgramStatus... programStatuses)
Creates a trigger which is satisfied when the given program in the given application in the
same namespace transitions to any one of the given program statuses.
|
Trigger |
TriggerFactory.onProgramStatus(String programNamespace,
String application,
ProgramType programType,
String program,
ProgramStatus... programStatuses)
Creates a trigger which is satisfied when the given program in the given namespace and
application with default version transitions to any one of the given program statuses.
|
Trigger |
TriggerFactory.onProgramStatus(String programNamespace,
String application,
String appVersion,
ProgramType programType,
String program,
ProgramStatus... programStatuses)
Creates a trigger which is satisfied when the given program in the given namespace,
application, and application version transitions to any one of the given program statuses.
|
ScheduleCreationSpec |
ScheduleBuilder.triggerOnProgramStatus(ProgramType programType,
String program,
ProgramStatus... programStatuses)
Creates a schedule which is triggered when the given program in the same namespace,
application, and application version transitions to any one of the given program statuses.
|
ScheduleCreationSpec |
ScheduleBuilder.triggerOnProgramStatus(String application,
ProgramType programType,
String program,
ProgramStatus... programStatuses)
Creates a schedule which is triggered when the given program in the given application in the
same namespace transitions to any one of the given program statuses.
|
ScheduleCreationSpec |
ScheduleBuilder.triggerOnProgramStatus(String programNamespace,
String application,
ProgramType programType,
String program,
ProgramStatus... programStatuses)
Create a schedule which is triggered when the given program in the given namespace and
application with default version transitions to any one of the given program statuses.
|
ScheduleCreationSpec |
ScheduleBuilder.triggerOnProgramStatus(String programNamespace,
String application,
String appVersion,
ProgramType programType,
String program,
ProgramStatus... programStatuses)
Create a schedule which is triggered when the given program in the given namespace,
application, and application version transitions to any one of the given program statuses.
|
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.