Package org.jenkinsci.plugins.pubsub
Enum Events.JobChannel
- java.lang.Object
-
- java.lang.Enum<Events.JobChannel>
-
- org.jenkinsci.plugins.pubsub.Events.JobChannel
-
- All Implemented Interfaces:
Serializable
,Comparable<Events.JobChannel>
- Enclosing interface:
- Events
public static enum Events.JobChannel extends Enum<Events.JobChannel>
Pre-defined "job" channel events.- See
EventProps.Job
for pre-defined job channel event properties.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description job_crud_created
Job created.job_crud_deleted
Job deleted.job_crud_renamed
Job renamed.job_crud_updated
Job updated.job_run_artifact_fingerprinting
Job run artifact fingerprinting.job_run_ended
Job run ended.job_run_paused
Job run paused.job_run_queue_blocked
Job run queue blocked.job_run_queue_buildable
Job run queue buildable.job_run_queue_enter
Job run queue entered.job_run_queue_left
Job run queue left.job_run_queue_task_complete
Job run queue task complete.job_run_scm_checkout
Job run SCM checkout.job_run_started
Job run started.job_run_unpaused
Job run unpaused.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Events.JobChannel
valueOf(String name)
Returns the enum constant of this type with the specified name.static Events.JobChannel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
job_crud_created
public static final Events.JobChannel job_crud_created
Job created.- See Also:
ItemListener.onCreated(Item)
-
job_crud_deleted
public static final Events.JobChannel job_crud_deleted
Job deleted.- See Also:
ItemListener.onDeleted(Item)
-
job_crud_updated
public static final Events.JobChannel job_crud_updated
Job updated.- See Also:
ItemListener.onUpdated(Item)
-
job_crud_renamed
public static final Events.JobChannel job_crud_renamed
Job renamed.
-
job_run_queue_enter
public static final Events.JobChannel job_run_queue_enter
Job run queue entered.
-
job_run_queue_buildable
public static final Events.JobChannel job_run_queue_buildable
Job run queue buildable.
-
job_run_queue_left
public static final Events.JobChannel job_run_queue_left
Job run queue left.- See Also:
QueueListener.onLeft(Queue.LeftItem)
-
job_run_queue_blocked
public static final Events.JobChannel job_run_queue_blocked
Job run queue blocked.
-
job_run_started
public static final Events.JobChannel job_run_started
Job run started.
-
job_run_scm_checkout
public static final Events.JobChannel job_run_scm_checkout
Job run SCM checkout.
-
job_run_paused
public static final Events.JobChannel job_run_paused
Job run paused.
-
job_run_unpaused
public static final Events.JobChannel job_run_unpaused
Job run unpaused.
-
job_run_ended
public static final Events.JobChannel job_run_ended
Job run ended.
-
job_run_artifact_fingerprinting
public static final Events.JobChannel job_run_artifact_fingerprinting
Job run artifact fingerprinting.
-
job_run_queue_task_complete
public static final Events.JobChannel job_run_queue_task_complete
Job run queue task complete.Fires after the run has ended.
-
-
Field Detail
-
NAME
public static final String NAME
The channel name.- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Events.JobChannel[] 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 (Events.JobChannel c : Events.JobChannel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Events.JobChannel 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
-
-