Class PackageBasedCDRResolutionNature
java.lang.Object
org.castor.core.nature.BaseNature
org.castor.cpa.util.classresolution.nature.PackageBasedCDRResolutionNature
- All Implemented Interfaces:
Nature
This class provides a view on a additional properties for
ClassDescriptorResolutionCommand
s.- Since:
- 1.2.1
- Author:
- Sebastian Gabmeyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPackageName
(String packageName) Adds a package to the stringList
of package names.getId()
Returns the fully qualified name of the Nature.Get the StringList
of package names that the currentClassDescriptorResolutionCommand
should search forClassDescriptor
s in.void
setPackageNames
(List<String> packageNames) Set a StringList
of package names that should be searched forClassDescriptor
s.Methods inherited from class org.castor.core.nature.BaseNature
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setProperty
-
Constructor Details
-
PackageBasedCDRResolutionNature
The constructor takes aPropertyHolder
.- Parameters:
holder
- the container to place/read the properties in/from.
-
-
Method Details
-
getId
Returns the fully qualified name of the Nature.- Returns:
- qualified name of the nature.
-
addPackageName
Adds a package to the stringList
of package names.- Parameters:
packageName
- the name of the package to add.
-
setPackageNames
Set a StringList
of package names that should be searched forClassDescriptor
s.- Parameters:
packageNames
- the StringList
of package names to set.
-
getPackageNames
Get the StringList
of package names that the currentClassDescriptorResolutionCommand
should search forClassDescriptor
s in.- Returns:
- a String
List
of package names.
-