Interface LifecyclePolicy.ActionConditionOrBuilder (0.8.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
List<Integer>

A list containing the exitCodes.