Package de.dlr.proseo.model.joborder
Class BreakpointFile
java.lang.Object
de.dlr.proseo.model.joborder.BreakpointFile
Breakpoint file information
Uses file name types from InputOutput class
For details see Generic IPF Interface Specification issue 1 revision 8 -
03/08/2009 MMFI-GSEG-EOPG-TN-07-0003
- Author:
- Thomas Bassler
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a Breakpoint File elementBreakpointFile(boolean enable, String fileType, String fileNameType, String fileName) Create a Breakpoint File element with all attributes set -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd contents of this to XML node parentElement.booleanGets the flag indicating whether the breakpoint file is activeGets the file nameGets the file name typeGets the file typevoidRead info from XML sub treevoidsetEnable(boolean enable) Sets the flag indicating whether the breakpoint file is activevoidsetFileName(String fileName) Sets the file namevoidsetFileNameType(String fileNameType) Sets the file name typevoidsetFileType(String fileType) Sets the file type
-
Constructor Details
-
BreakpointFile
public BreakpointFile()Create a Breakpoint File element -
BreakpointFile
public BreakpointFile(boolean enable, String fileType, String fileNameType, String fileName) throws IllegalArgumentException Create a Breakpoint File element with all attributes set- Parameters:
enable- flag indicating whether the breakpoint file is enabledfileType- the file typefileNameType- the file name type ('Physical', 'Logical', 'Stem', 'Regexp', 'Directory')fileName- the file name- Throws:
IllegalArgumentException
-
-
Method Details
-
getEnable
public boolean getEnable()Gets the flag indicating whether the breakpoint file is active- Returns:
- true, if active, false otherwise
-
setEnable
public void setEnable(boolean enable) Sets the flag indicating whether the breakpoint file is active- Parameters:
enable- the flag to set
-
getFileType
Gets the file type- Returns:
- the fileType
-
setFileType
Sets the file type- Parameters:
fileType- the fileType to set
-
getFileNameType
Gets the file name type- Returns:
- the fileNameType
-
setFileNameType
Sets the file name type- Parameters:
fileNameType- the file name type to set ('Physical', 'Logical', 'Stem', 'Regexp', 'Directory')- Throws:
IllegalArgumentException
-
getFileName
Gets the file name- Returns:
- the file name
-
setFileName
Sets the file name- Parameters:
fileName- the file name to set
-
buildXML
Add contents of this to XML node parentElement. Use doc to create elements- Parameters:
doc- The DocumentparentElement- The node to add this as childprosEOAttributes- if true, write attributes of prosEO specific data
-
read
Read info from XML sub tree- Parameters:
thisNode- XML node containing information
-