java.lang.Object
com.azure.core.util.ExpandableStringEnum<JobStatus>
com.azure.resourcemanager.automation.models.JobStatus

public final class JobStatus extends com.azure.core.util.ExpandableStringEnum<JobStatus>
Gets or sets the status of the job.
  • Field Details

    • NEW

      public static final JobStatus NEW
      Static value New for JobStatus.
    • ACTIVATING

      public static final JobStatus ACTIVATING
      Static value Activating for JobStatus.
    • RUNNING

      public static final JobStatus RUNNING
      Static value Running for JobStatus.
    • COMPLETED

      public static final JobStatus COMPLETED
      Static value Completed for JobStatus.
    • FAILED

      public static final JobStatus FAILED
      Static value Failed for JobStatus.
    • STOPPED

      public static final JobStatus STOPPED
      Static value Stopped for JobStatus.
    • BLOCKED

      public static final JobStatus BLOCKED
      Static value Blocked for JobStatus.
    • SUSPENDED

      public static final JobStatus SUSPENDED
      Static value Suspended for JobStatus.
    • DISCONNECTED

      public static final JobStatus DISCONNECTED
      Static value Disconnected for JobStatus.
    • SUSPENDING

      public static final JobStatus SUSPENDING
      Static value Suspending for JobStatus.
    • STOPPING

      public static final JobStatus STOPPING
      Static value Stopping for JobStatus.
    • RESUMING

      public static final JobStatus RESUMING
      Static value Resuming for JobStatus.
    • REMOVING

      public static final JobStatus REMOVING
      Static value Removing for JobStatus.
  • Constructor Details

    • JobStatus

      public JobStatus()
  • Method Details

    • fromString

      public static JobStatus fromString(String name)
      Creates or finds a JobStatus from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding JobStatus.
    • values

      public static Collection<JobStatus> values()
      Gets known JobStatus values.
      Returns:
      known JobStatus values.