|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.project.controller.LabelMaker
Title: $FileName: LabelMaker.java$
Field Summary | |
private Archive |
archive
|
private boolean |
buildChangeList
|
private java.util.Date |
createDate
|
private java.lang.String |
description
|
private long |
existingLabelID
|
private Label |
label
|
private java.lang.String |
labelName
|
private NodeLibrary |
library
|
private long |
parentProjectID
|
private java.io.File |
tempLabelFile
|
private java.lang.String |
userName
|
Constructor Summary | |
LabelMaker()
|
Method Summary | |
private java.io.File |
buildChangeListFile()
|
private void |
buildLabel(long parentProjectID,
java.lang.String baseSJPath,
long skipFile)
This method recursively calls itself until it has put all of the latest versions of all the file nodes in parent (and in all ProjectNode children of parent) into label. |
private void |
doesExistingLabelExist()
|
Label |
getLabel()
Returns the label. |
void |
makeLabel()
|
private void |
manageChangeList()
|
private void |
manageNew()
|
private void |
manageRebuild()
|
void |
setArchive(Archive archive)
Sets the archive. |
void |
setBuildChangeList(boolean buildChangeList)
Sets the buildChangeList. |
void |
setCreateDate(java.util.Date createDate)
Sets the createDate. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setExistingLabelID(long existingLabelID)
Sets the existingLabelID. |
void |
setLabelName(java.lang.String labelName)
Sets the labelName. |
void |
setLibrary(NodeLibrary library)
Sets the library. |
void |
setParentProjectID(long parentProjectID)
Sets the parentProjectID. |
void |
setUserName(java.lang.String userName)
Sets the userName. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Label label
private NodeLibrary library
private long parentProjectID
private java.lang.String labelName
private java.lang.String description
private java.util.Date createDate
private long existingLabelID
private Archive archive
private java.io.File tempLabelFile
private java.lang.String userName
private boolean buildChangeList
Constructor Detail |
public LabelMaker()
Method Detail |
public void makeLabel() throws LabelBuildException, FileAccessException, SecurityException
LabelBuildException
FileAccessException
SecurityException
private void manageNew() throws FileAccessException, LabelBuildException, SecurityException
FileAccessException
LabelBuildException
SecurityException
private void doesExistingLabelExist() throws SecurityException, FileAccessException, LabelBuildException
SecurityException
FileAccessException
LabelBuildException
private void manageRebuild() throws LabelBuildException, SecurityException, FileAccessException
LabelBuildException
SecurityException
FileAccessException
private void manageChangeList() throws SecurityException, LabelBuildException, FileAccessException
SecurityException
LabelBuildException
FileAccessException
private java.io.File buildChangeListFile() throws FileAccessException, LabelBuildException, SecurityException
FileAccessException
LabelBuildException
SecurityException
private void buildLabel(long parentProjectID, java.lang.String baseSJPath, long skipFile) throws LabelBuildException, SecurityException, FileAccessException
LabelBuildException
SecurityException
FileAccessException
public Label getLabel()
public void setLibrary(NodeLibrary library)
library
- The library to setpublic void setParentProjectID(long parentProjectID)
parentProjectID
- The parentProjectID to setpublic void setCreateDate(java.util.Date createDate)
createDate
- The createDate to setpublic void setDescription(java.lang.String description)
description
- The description to setpublic void setExistingLabelID(long existingLabelID)
existingLabelID
- The existingLabelID to setpublic void setLabelName(java.lang.String labelName)
labelName
- The labelName to setpublic void setArchive(Archive archive)
archive
- The archive to setpublic void setUserName(java.lang.String userName)
userName
- The userName to setpublic void setBuildChangeList(boolean buildChangeList)
buildChangeList
- The buildChangeList to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |