Class ActionFactory
java.lang.Object
org.glassfish.pfl.basic.tools.file.ActionFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns an action that returns true.returns an action that returns false.
-
Field Details
-
verbose
private final int verbose -
dryRun
private final boolean dryRun
-
-
Constructor Details
-
ActionFactory
public ActionFactory() -
ActionFactory
public ActionFactory(int verbose) -
ActionFactory
public ActionFactory(int verbose, boolean dryRun)
-
-
Method Details
-
getSkipAction
returns an action that returns true. If verbose is true, the action also displays the FileWrapper that was passed to it.- Returns:
- The skip action.
-
getStopAction
returns an action that returns false. If verbose is true, the action also displays the FileWrapper that was passed to it.- Returns:
- The stop action.
-
getRecognizerAction
-