Interface LifecyclePolicy.ActionConditionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LifecyclePolicy.ActionCondition, LifecyclePolicy.ActionCondition.Builder
Enclosing class:
LifecyclePolicy

public static interface LifecyclePolicy.ActionConditionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getExitCodes(int index)
    Exit codes of a task execution.
    int
    Exit codes of a task execution.
    Exit codes of a task execution.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getExitCodesList

      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:
      A list containing the exitCodes.
    • getExitCodesCount

      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:
      The count of exitCodes.
    • getExitCodes

      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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The exitCodes at the given index.