com.redstarhackers.craftsman.typedefs
Class Module
java.lang.Object
DataType
com.redstarhackers.craftsman.typedefs.Module
- All Implemented Interfaces:
- CapableDataType
public class Module
- extends DataType
- implements CapableDataType
A data-type for defining and representing modules
within the project. This data-type helps find the
directories for the module and caches them.
- Version:
- $Revision: 588 $
- Author:
- $Author: kostya $
|
Constructor Summary |
Module()
Default constructor. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Module
public Module()
- Default constructor.
getModuleId
public java.lang.String getModuleId()
getType
public ModuleType getType()
setType
public void setType(ModuleType typeVal)
setModuleId
public void setModuleId(java.lang.String nameVal)
getDir
public java.lang.String getDir()
setDir
public void setDir(java.lang.String dirVal)
getLibraries
public java.util.Set getLibraries()
getLibrary
public Library getLibrary(java.lang.String libName)
createLibrary
public Library createLibrary()
getBuildArtifacts
public java.util.Set getBuildArtifacts()
setBuildArtifacts
public void setBuildArtifacts(java.util.Set val)
getDependencies
public java.util.Set getDependencies()
createDependency
public ModuleDependency createDependency()
getCapabilities
public java.util.Set getCapabilities()
- Specified by:
getCapabilities in interface CapableDataType
createCapability
public CapabilityType createCapability()
getCapability
public CapabilityType getCapability(java.lang.String name)
- Specified by:
getCapability in interface CapableDataType
containsCapability
public boolean containsCapability(java.lang.String name)
containsCapabilityType
public boolean containsCapabilityType(java.lang.String typeName)
- Specified by:
containsCapabilityType in interface CapableDataType
getCapabilityOfType
public CapabilityType getCapabilityOfType(java.lang.String typeName)
- Specified by:
getCapabilityOfType in interface CapableDataType
getCapabilitiesOfType
public java.util.Set getCapabilitiesOfType(java.lang.String typeName)
- Specified by:
getCapabilitiesOfType in interface CapableDataType
getModuleBaseDir
public java.io.File getModuleBaseDir()
getModuleSrcDir
public java.io.File getModuleSrcDir()
getModuleTestDir
public java.io.File getModuleTestDir()
getModuleBuildDir
public java.io.File getModuleBuildDir()
getModuleBuildModuleDir
public java.io.File getModuleBuildModuleDir()
getModuleBuildTestDir
public java.io.File getModuleBuildTestDir()
getModuleBuildGensrcDir
public java.io.File getModuleBuildGensrcDir()
getModuleBuildCheckstyleDir
public java.io.File getModuleBuildCheckstyleDir()
getModuleBuildJarDir
public java.io.File getModuleBuildJarDir()
getModuleDocDir
public java.io.File getModuleDocDir()
equals
public boolean equals(java.lang.Object rhs)
initialize
public void initialize()
areDepenendenciesInitialized
public boolean areDepenendenciesInitialized()
setDependenciesInitialized
public void setDependenciesInitialized(boolean val)