@ThreadSafe public enum JobSource extends Enum<JobSource>
Modifier and Type | Method and Description |
---|---|
JobSource |
toProto() |
static JobSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobSource CLI
public static final JobSource POLICY
public static final JobSource SYSTEM
public static JobSource[] values()
for (JobSource c : JobSource.values()) System.out.println(c);
public static JobSource valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic JobSource toProto()
Copyright © 2023. All Rights Reserved.