|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.dependency.DependencyChecker
public class DependencyChecker
Constructor Summary | |
---|---|
DependencyChecker()
|
Method Summary | |
---|---|
static ActionDependency |
checkForAvailability(String[] missingDependencies,
org.apache.hadoop.conf.Configuration actionConf,
boolean stopOnFirstMissing)
Get the currently missing and available dependencies after checking the list of known missing dependencies against the source. |
static ActionDependency |
checkForAvailability(String missingDependencies,
org.apache.hadoop.conf.Configuration actionConf,
boolean stopOnFirstMissing)
Get the currently missing and available dependencies after checking the list of known missing dependencies against the source. |
static String[] |
dependenciesAsArray(String missingDependencies)
Return a array of missing dependencies |
static String |
dependenciesAsString(List<String> missingDependencies)
Return a string of missing dependencies concatenated by CoordELFunctions.INSTANCE_SEPARATOR |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyChecker()
Method Detail |
---|
public static String dependenciesAsString(List<String> missingDependencies)
missingDependencies
- list of missing dependencies
public static String[] dependenciesAsArray(String missingDependencies)
missingDependencies
- missing dependencies concatenated by
CoordELFunctions.INSTANCE_SEPARATOR
public static ActionDependency checkForAvailability(String missingDependencies, org.apache.hadoop.conf.Configuration actionConf, boolean stopOnFirstMissing) throws CommandException
missingDependencies
- known missing dependenciesactionConf
- Configuration for the actionstopOnFirstMissing
- Does not continue check for the rest of list if there is a missing
dependency
CommandException
public static ActionDependency checkForAvailability(String[] missingDependencies, org.apache.hadoop.conf.Configuration actionConf, boolean stopOnFirstMissing) throws CommandException
missingDependencies
- known missing dependenciesactionConf
- Configuration for the actionstopOnFirstMissing
- Does not continue check for the rest of list if there is a missing
dependency
CommandException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |