org.apache.oozie.dependency
Enum URIHandler.DependencyType
java.lang.Object
java.lang.Enum<URIHandler.DependencyType>
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
PULL
public static final URIHandler.DependencyType PULL
PUSH
public static final URIHandler.DependencyType PUSH
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.