|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDataType
com.redstarhackers.craftsman.typedefs.Library
public class Library
A data-type for defining and accessing libraries for use in building the module or the module's unit tests. The library task takes care of defining a FileSet and a Path for the given library.
| Constructor Summary | |
|---|---|
Library()
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
createLibraryComponents()
Perform the work of the task. |
boolean |
equals(java.lang.Object rhs)
Returns whether the right-hand-side object is equal to this instance. |
java.io.File |
getConfigFile()
|
java.io.File |
getDir()
|
java.io.File |
getExternalDir()
|
FileSet |
getFileSet()
|
java.lang.String |
getFileSetId()
|
LibraryLinkingType |
getLinkingType()
|
java.lang.String |
getName()
|
Path |
getPath()
|
java.lang.String |
getPathId()
|
static Library |
getReferencedLibrary(Project project,
java.lang.String id)
|
int |
hashCode()
Implements hashCode() for the identifying or significant fields. |
void |
initialize()
|
boolean |
isInitialized()
|
boolean |
isTestLib()
|
protected void |
registerFileSet()
|
protected void |
registerPath()
|
protected void |
setConfigFile(java.io.File configFile)
|
protected void |
setDir(java.io.File libraryDir)
|
void |
setExternalDir(java.io.File val)
|
void |
setFileSet(FileSet filesetVal)
|
protected void |
setInitialized(boolean val)
|
void |
setLinkingType(LibraryLinkingType linkingType)
|
void |
setName(java.lang.String nameVal)
|
protected void |
setPath(Path pathVal)
|
void |
setTestLib(boolean val)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Library()
| Method Detail |
|---|
public static Library getReferencedLibrary(Project project,
java.lang.String id)
public java.lang.String getName()
public void setName(java.lang.String nameVal)
public java.io.File getExternalDir()
public void setExternalDir(java.io.File val)
public Path getPath()
public java.lang.String getPathId()
public FileSet getFileSet()
public void setFileSet(FileSet filesetVal)
public java.lang.String getFileSetId()
public boolean isTestLib()
public void setTestLib(boolean val)
public java.io.File getDir()
public java.io.File getConfigFile()
public LibraryLinkingType getLinkingType()
public void setLinkingType(LibraryLinkingType linkingType)
linkingType - the linkingType to setpublic boolean isInitialized()
public void initialize()
public boolean equals(java.lang.Object rhs)
public int hashCode()
public java.lang.String toString()
protected void setInitialized(boolean val)
protected void setPath(Path pathVal)
protected void registerPath()
protected void registerFileSet()
protected void setDir(java.io.File libraryDir)
libraryDir - The libraryDir to set.protected void setConfigFile(java.io.File configFile)
configFile - The configFile to set.protected void createLibraryComponents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||