Enum InstanceAgentPlugin.Status

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<InstanceAgentPlugin.Status>
    Enclosing class:
    InstanceAgentPlugin

    public static enum InstanceAgentPlugin.Status
    extends Enum<InstanceAgentPlugin.Status>
    implements BmcEnum
    The plugin status.

    These are the available statuses: * RUNNING - The plugin is running. * STOPPED - The plugin is stopped. * NOT_SUPPORTED - The plugin is not supported on this platform. * INVALID - The plugin status is not recognizable by the service.

    To determine whether the plugin is enabled, use the getInstance operation in the Core Services API. To enable or disable the plugin, use the updateInstance operation in the Core Services API.

    • Method Detail

      • values

        public static InstanceAgentPlugin.Status[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InstanceAgentPlugin.Status c : InstanceAgentPlugin.Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InstanceAgentPlugin.Status valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null