com.perforce.p4java.admin
Enum ITriggerEntry.TriggerType

java.lang.Object
  extended by java.lang.Enum<ITriggerEntry.TriggerType>
      extended by com.perforce.p4java.admin.ITriggerEntry.TriggerType
All Implemented Interfaces:
Serializable, Comparable<ITriggerEntry.TriggerType>
Enclosing interface:
ITriggerEntry

public static enum ITriggerEntry.TriggerType
extends Enum<ITriggerEntry.TriggerType>


Enum Constant Summary
ARCHIVE
           
AUTH_CHECK
           
AUTH_CHECK_SSO
           
AUTH_SET
           
CHANGE_COMMIT
           
CHANGE_CONTENT
           
CHANGE_SUBMIT
           
EDGE_CONTENT
           
EDGE_SUBMIT
           
FIX_ADD
           
FIX_DELETE
           
FORM_COMMIT
           
FORM_DELETE
           
FORM_IN
           
FORM_OUT
           
FORM_SAVE
           
SERVICE_CHECK
           
SHELVE_COMMIT
           
SHELVE_DELETE
           
SHELVE_SUBMIT
           
 
Method Summary
static ITriggerEntry.TriggerType fromString(String triggerType)
          Return a suitable Trigger type as inferred from the passed-in string, which is assumed to be the string form of a Depot type.
 String toString()
           
static ITriggerEntry.TriggerType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ITriggerEntry.TriggerType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ARCHIVE

public static final ITriggerEntry.TriggerType ARCHIVE

AUTH_CHECK

public static final ITriggerEntry.TriggerType AUTH_CHECK

AUTH_CHECK_SSO

public static final ITriggerEntry.TriggerType AUTH_CHECK_SSO

AUTH_SET

public static final ITriggerEntry.TriggerType AUTH_SET

CHANGE_SUBMIT

public static final ITriggerEntry.TriggerType CHANGE_SUBMIT

CHANGE_CONTENT

public static final ITriggerEntry.TriggerType CHANGE_CONTENT

CHANGE_COMMIT

public static final ITriggerEntry.TriggerType CHANGE_COMMIT

EDGE_SUBMIT

public static final ITriggerEntry.TriggerType EDGE_SUBMIT

EDGE_CONTENT

public static final ITriggerEntry.TriggerType EDGE_CONTENT

FIX_ADD

public static final ITriggerEntry.TriggerType FIX_ADD

FIX_DELETE

public static final ITriggerEntry.TriggerType FIX_DELETE

FORM_IN

public static final ITriggerEntry.TriggerType FORM_IN

FORM_OUT

public static final ITriggerEntry.TriggerType FORM_OUT

FORM_SAVE

public static final ITriggerEntry.TriggerType FORM_SAVE

FORM_COMMIT

public static final ITriggerEntry.TriggerType FORM_COMMIT

FORM_DELETE

public static final ITriggerEntry.TriggerType FORM_DELETE

SERVICE_CHECK

public static final ITriggerEntry.TriggerType SERVICE_CHECK

SHELVE_SUBMIT

public static final ITriggerEntry.TriggerType SHELVE_SUBMIT

SHELVE_COMMIT

public static final ITriggerEntry.TriggerType SHELVE_COMMIT

SHELVE_DELETE

public static final ITriggerEntry.TriggerType SHELVE_DELETE
Method Detail

values

public static ITriggerEntry.TriggerType[] 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 (ITriggerEntry.TriggerType c : ITriggerEntry.TriggerType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ITriggerEntry.TriggerType 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 name
NullPointerException - if the argument is null

fromString

public static ITriggerEntry.TriggerType fromString(String triggerType)
Return a suitable Trigger type as inferred from the passed-in string, which is assumed to be the string form of a Depot type. Otherwise return the null.


toString

public String toString()
Overrides:
toString in class Enum<ITriggerEntry.TriggerType>


Copyright © 2015 Perforce Software. All Rights Reserved.