Interface LifecyclePolicy.ActionConditionOrBuilder (0.41.0)

public static interface LifecyclePolicy.ActionConditionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExitCodes(int index)

public abstract int getExitCodes(int index)

Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.

repeated int32 exit_codes = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
int

The exitCodes at the given index.

getExitCodesCount()

public abstract int getExitCodesCount()

Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.

repeated int32 exit_codes = 1;

Returns
TypeDescription
int

The count of exitCodes.

getExitCodesList()

public abstract List<Integer> getExitCodesList()

Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.

repeated int32 exit_codes = 1;

Returns
TypeDescription
List<Integer>

A list containing the exitCodes.