public static enum SCMEvent.Type extends Enum<SCMEvent.Type>
Enum Constant and Description |
---|
CREATED
Signifies the creation of a new thing:
An existing
SCMNavigator getting a new SCMSource would trigger a
SCMSourceEvent
An existing SCMSource getting a new SCMHead would trigger a SCMHeadEvent
|
REMOVED
Signifies the removal of an existing thing:
An existing
SCMNavigator being removed would trigger a SCMNavigatorEvent
An existing SCMSource being removed would trigger a SCMSourceEvent
An existing SCMHead being removed would trigger a SCMHeadEvent
|
UPDATED
Signifies the update of metadata of existing thing:
An existing
SCMNavigator 's metadata changing would trigger a SCMNavigatorEvent
An existing SCMSource 's metadata changing would trigger a SCMSourceEvent
An existing SCMHead 's metadata changing (including the SCMRevision that the
SCMHead points to) would trigger a SCMHeadEvent
|
Modifier and Type | Method and Description |
---|---|
static SCMEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SCMEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SCMEvent.Type CREATED
SCMNavigator
getting a new SCMSource
would trigger a
SCMSourceEvent
SCMSource
getting a new SCMHead
would trigger a SCMHeadEvent
public static final SCMEvent.Type UPDATED
SCMNavigator
's metadata changing would trigger a SCMNavigatorEvent
SCMSource
's metadata changing would trigger a SCMSourceEvent
SCMHead
's metadata changing (including the SCMRevision
that the
SCMHead
points to) would trigger a SCMHeadEvent
public static final SCMEvent.Type REMOVED
SCMNavigator
being removed would trigger a SCMNavigatorEvent
SCMSource
being removed would trigger a SCMSourceEvent
SCMHead
being removed would trigger a SCMHeadEvent
public static SCMEvent.Type[] values()
for (SCMEvent.Type c : SCMEvent.Type.values()) System.out.println(c);
public static SCMEvent.Type 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 nullCopyright © 2016–2022. All rights reserved.