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
s.
invalid reference
ClassDescriptorResolutionCommand
- Since:
- 1.2.1
- Author:
- Sebastian Gabmeyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPackageName(String packageName) Adds a package to the stringListof package names.getId()Returns the fully qualified name of the Nature.Get the StringListof package names that the currentshould search forinvalid reference
ClassDescriptorResolutionCommandClassDescriptors in.voidsetPackageNames(List<String> packageNames) Set a StringListof package names that should be searched forClassDescriptors.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 stringListof package names.- Parameters:
packageName- the name of the package to add.
-
setPackageNames
Set a StringListof package names that should be searched forClassDescriptors.- Parameters:
packageNames- the StringListof package names to set.
-
getPackageNames
Get the StringListof package names that the currentshould search forinvalid reference
ClassDescriptorResolutionCommandClassDescriptors in.- Returns:
- a String
Listof package names.
-