Class GSBackupEncoder
- java.lang.Object
-
- it.geosolutions.geoserver.rest.encoder.utils.XmlElement
-
- it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
-
- it.geosolutions.geoserver.rest.encoder.GSBackupEncoder
-
public class GSBackupEncoder extends PropertyXMLEncoder
GSBackupEncoder class.
- Version:
- $Id: $
- Author:
- Alessio Fabiani (alessio.fabiani at geo-solutions.it)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINCLUDE_DATAConstantINCLUDE_DATA="includedata"static java.lang.StringINCLUDE_GWCConstantINCLUDE_GWC="includegwc"static java.lang.StringINCLUDE_LOGConstantINCLUDE_LOG="includelog"static java.lang.StringPATHConstantPATH="path"static java.lang.StringTASKConstantTASK="task"
-
Constructor Summary
Constructors Constructor Description GSBackupEncoder()Constructor for GSBackupEncoder.GSBackupEncoder(java.lang.String name)Constructor for GSBackupEncoder.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddIncludeData(java.lang.Boolean includedata)Deprecated.will be set to protected in the next releasevoidaddIncludeGwc(java.lang.Boolean includegwc)Deprecated.will be set to protected in the next releasevoidaddIncludeLog(java.lang.Boolean includelog)Deprecated.will be set to protected in the next releasevoidaddPath(java.lang.String path)Deprecated.will be set to protected in the next releasejava.lang.StringgetIncludeData()getIncludeDatajava.lang.StringgetIncludeGwc()getIncludeGwcjava.lang.StringgetIncludeLog()getIncludeLogjava.lang.StringgetPath()getPathvoidsetIncludeData(java.lang.Boolean includedata)add or change (if already set) the task includedatavoidsetIncludeGwc(java.lang.Boolean includegwc)add or change (if already set) the task includegwcvoidsetIncludeLog(java.lang.Boolean includelog)add or change (if already set) the task includelogvoidsetPath(java.lang.String path)add or change (if already set) the task path-
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
add, get, get, set
-
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.XmlElement
add, addContent, getRoot, isEmpty, remove, set, setRoot, setRoot, toString
-
-
-
-
Field Detail
-
TASK
public static final java.lang.String TASK
ConstantTASK="task"- See Also:
- Constant Field Values
-
PATH
public static final java.lang.String PATH
ConstantPATH="path"- See Also:
- Constant Field Values
-
INCLUDE_DATA
public static final java.lang.String INCLUDE_DATA
ConstantINCLUDE_DATA="includedata"- See Also:
- Constant Field Values
-
INCLUDE_GWC
public static final java.lang.String INCLUDE_GWC
ConstantINCLUDE_GWC="includegwc"- See Also:
- Constant Field Values
-
INCLUDE_LOG
public static final java.lang.String INCLUDE_LOG
ConstantINCLUDE_LOG="includelog"- See Also:
- Constant Field Values
-
-
Method Detail
-
addPath
public void addPath(java.lang.String path)
Deprecated.will be set to protected in the next releaseAdd the path to this task- Parameters:
path- aStringobject.- Throws:
java.lang.IllegalStateException- if path is already set
-
setPath
public void setPath(java.lang.String path)
add or change (if already set) the task path- Parameters:
path- aStringobject.
-
getPath
public java.lang.String getPath()
getPath
- Returns:
- a
Stringobject.
-
addIncludeData
public void addIncludeData(java.lang.Boolean includedata)
Deprecated.will be set to protected in the next releaseAdd the includedata to this task- Parameters:
includedata- aBooleanobject.
-
setIncludeData
public void setIncludeData(java.lang.Boolean includedata)
add or change (if already set) the task includedata- Parameters:
includedata- aBooleanobject.
-
getIncludeData
public java.lang.String getIncludeData()
getIncludeData
- Returns:
- a
Stringobject.
-
addIncludeGwc
public void addIncludeGwc(java.lang.Boolean includegwc)
Deprecated.will be set to protected in the next releaseAdd the includegwc to this task- Parameters:
includegwc- aBooleanobject.
-
setIncludeGwc
public void setIncludeGwc(java.lang.Boolean includegwc)
add or change (if already set) the task includegwc- Parameters:
includegwc- aBooleanobject.
-
getIncludeGwc
public java.lang.String getIncludeGwc()
getIncludeGwc
- Returns:
- a
Stringobject.
-
addIncludeLog
public void addIncludeLog(java.lang.Boolean includelog)
Deprecated.will be set to protected in the next releaseAdd the includelog to this task- Parameters:
includelog- aBooleanobject.
-
setIncludeLog
public void setIncludeLog(java.lang.Boolean includelog)
add or change (if already set) the task includelog- Parameters:
includelog- aBooleanobject.
-
getIncludeLog
public java.lang.String getIncludeLog()
getIncludeLog
- Returns:
- a
Stringobject.
-
-