Package org.jenkinsci.plugins.pubsub
Enum EventProps.Job
- java.lang.Object
-
- java.lang.Enum<EventProps.Job>
-
- org.jenkinsci.plugins.pubsub.EventProps.Job
-
- All Implemented Interfaces:
Serializable
,Comparable<EventProps.Job>
- Enclosing interface:
- EventProps
public static enum EventProps.Job extends Enum<EventProps.Job>
Pre-defined Job channel event property names.- See
Events.JobChannel
for Job channel events. - See
EventProps.Jenkins
for core properties common to most/all messages.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description job_ismultibranch
Job is a multi-branch job.job_multibranch_indexing_result
Multi-branch job indexing result.job_multibranch_indexing_status
Multi-branch job indexing status.job_name
Job name.job_run_commitId
Job run SCM commit Id, if relevant.job_run_queueId
Job run Queue Id.job_run_status
Job run status/result.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventProps.Job
valueOf(String name)
Returns the enum constant of this type with the specified name.static EventProps.Job[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
job_name
public static final EventProps.Job job_name
Job name.
-
job_ismultibranch
public static final EventProps.Job job_ismultibranch
Job is a multi-branch job."true" if it is a multi-branch job, otherwise it is not a multi-branch job.
-
job_multibranch_indexing_status
public static final EventProps.Job job_multibranch_indexing_status
Multi-branch job indexing status.
-
job_multibranch_indexing_result
public static final EventProps.Job job_multibranch_indexing_result
Multi-branch job indexing result.
-
job_run_queueId
public static final EventProps.Job job_run_queueId
Job run Queue Id.This is how you correlate between Job Queue tasks and the Runs that result from them.
-
job_run_status
public static final EventProps.Job job_run_status
Job run status/result.
-
job_run_commitId
public static final EventProps.Job job_run_commitId
Job run SCM commit Id, if relevant.
-
-
Method Detail
-
values
public static EventProps.Job[] 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 (EventProps.Job c : EventProps.Job.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventProps.Job 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 nameNullPointerException
- if the argument is null
-
-