Package classycle
Class CommandLine
java.lang.Object
classycle.CommandLine
- Direct Known Subclasses:
AnalyserCommandLine,DependencyCheckerCommandLine
- Author:
- Franz-Josef Elmer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]protected StringPatternSequenceprotected StringPatternprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns all class file descriptors (i.e., class files, directorys, jar files, or zip files).Returns the pattern fully qualified class names have to match.Returns the reflection pattern as extracted from the option -reflectionPattern.getUsage()Returns the usage of correct command line arguments and options.protected voidhandleOption(String argument) booleanReturnstrueif the command line option-mergeInnerClassesoccured.booleanisValid()Returns true if the command line arguments and options are valid.
-
Field Details
-
_valid
protected boolean _valid -
_pattern
-
_reflectionPattern
-
_classFiles
-
-
Constructor Details
-
CommandLine
-
-
Method Details
-
handleOption
-
getClassFiles
Returns all class file descriptors (i.e., class files, directorys, jar files, or zip files). -
getPattern
Returns the pattern fully qualified class names have to match. The pattern is based on the options -includingClasses and -excludingClasses. If -includingClasses is missing every classes is included which is not excluded. If -excludingClasses is missing no class is excluded. -
getReflectionPattern
Returns the reflection pattern as extracted from the option -reflectionPattern. -
isValid
public boolean isValid()Returns true if the command line arguments and options are valid. -
isMergeInnerClasses
public boolean isMergeInnerClasses()Returnstrueif the command line option-mergeInnerClassesoccured. -
getUsage
Returns the usage of correct command line arguments and options.
-