it.geosolutions.geoserver.rest.encoder
Class GSBackupEncoder

java.lang.Object
  extended by it.geosolutions.geoserver.rest.encoder.utils.XmlElement
      extended by it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
          extended by it.geosolutions.geoserver.rest.encoder.GSBackupEncoder

public class GSBackupEncoder
extends PropertyXMLEncoder

Author:
Alessio Fabiani (alessio.fabiani at geo-solutions.it)

Field Summary
static String INCLUDE_DATA
           
static String INCLUDE_GWC
           
static String INCLUDE_LOG
           
static String PATH
           
static String TASK
           
 
Constructor Summary
GSBackupEncoder()
           
GSBackupEncoder(String name)
           
 
Method Summary
 void addIncludeData(Boolean includedata)
          Deprecated. will be set to protected in the next release
 void addIncludeGwc(Boolean includegwc)
          Deprecated. will be set to protected in the next release
 void addIncludeLog(Boolean includelog)
          Deprecated. will be set to protected in the next release
 void addPath(String path)
          Deprecated. will be set to protected in the next release
 String getIncludeData()
           
 String getIncludeGwc()
           
 String getIncludeLog()
           
 String getPath()
           
 void setIncludeData(Boolean includedata)
          add or change (if already set) the task includedata
 void setIncludeGwc(Boolean includegwc)
          add or change (if already set) the task includegwc
 void setIncludeLog(Boolean includelog)
          add or change (if already set) the task includelog
 void setPath(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, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TASK

public static final String TASK
See Also:
Constant Field Values

PATH

public static final String PATH
See Also:
Constant Field Values

INCLUDE_DATA

public static final String INCLUDE_DATA
See Also:
Constant Field Values

INCLUDE_GWC

public static final String INCLUDE_GWC
See Also:
Constant Field Values

INCLUDE_LOG

public static final String INCLUDE_LOG
See Also:
Constant Field Values
Constructor Detail

GSBackupEncoder

public GSBackupEncoder()

GSBackupEncoder

public GSBackupEncoder(String name)
Parameters:
path - the task path
Method Detail

addPath

public void addPath(String path)
Deprecated. will be set to protected in the next release

Add the path to this task

Parameters:
path -
Throws:
IllegalStateException - if path is already set

setPath

public void setPath(String path)
add or change (if already set) the task path

Parameters:
path -

getPath

public String getPath()

addIncludeData

public void addIncludeData(Boolean includedata)
Deprecated. will be set to protected in the next release

Add the includedata to this task

Parameters:
includedata -

setIncludeData

public void setIncludeData(Boolean includedata)
add or change (if already set) the task includedata

Parameters:
includedata -

getIncludeData

public String getIncludeData()

addIncludeGwc

public void addIncludeGwc(Boolean includegwc)
Deprecated. will be set to protected in the next release

Add the includegwc to this task

Parameters:
includegwc -

setIncludeGwc

public void setIncludeGwc(Boolean includegwc)
add or change (if already set) the task includegwc

Parameters:
includegwc -

getIncludeGwc

public String getIncludeGwc()

addIncludeLog

public void addIncludeLog(Boolean includelog)
Deprecated. will be set to protected in the next release

Add the includelog to this task

Parameters:
includelog -

setIncludeLog

public void setIncludeLog(Boolean includelog)
add or change (if already set) the task includelog

Parameters:
includelog -

getIncludeLog

public String getIncludeLog()


Copyright © 2007-2013 GeoSolutions. All Rights Reserved.