Interface LifecyclePolicy.ActionConditionOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getExitCodes​(int index)
      Exit codes of a task execution.
      int getExitCodesCount()
      Exit codes of a task execution.
      List<Integer> getExitCodesList()
      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 Detail

      • 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.