org.apache.oozie.dependency
Enum URIHandler.DependencyType

java.lang.Object
  extended by java.lang.Enum<URIHandler.DependencyType>
      extended by org.apache.oozie.dependency.URIHandler.DependencyType
All Implemented Interfaces:
Serializable, Comparable<URIHandler.DependencyType>
Enclosing interface:
URIHandler

public static enum URIHandler.DependencyType
extends Enum<URIHandler.DependencyType>

Type of the dependency. PULL dependencies are those whose availability is determined by polling and PUSH dependencies are those whose availability is known from notifications


Enum Constant Summary
PULL
           
PUSH
           
 
Method Summary
static URIHandler.DependencyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static URIHandler.DependencyType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PULL

public static final URIHandler.DependencyType PULL

PUSH

public static final URIHandler.DependencyType PUSH
Method Detail

values

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

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

valueOf

public static URIHandler.DependencyType 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


Copyright © 2013 Apache Software Foundation. All Rights Reserved.