|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.servertools.DeleteMapServerCache
public class DeleteMapServerCache
Deletes an existing map service cache, including all associated files on disk. The Delete Map Server Cache tool is contained in the Server Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
DeleteMapServerCache()
Creates the Delete Map Server Cache tool with defaults. |
|
DeleteMapServerCache(String serverName,
String objectName,
String dataFrame,
Object layer)
Creates the Delete Map Server Cache tool with the required parameters. |
Method Summary | |
---|---|
String |
getDataFrame()
Returns the Data Frame parameter of this tool . |
Object |
getLayer()
Returns the Input Layers parameter of this tool . |
String |
getObjectName()
Returns the Map Server parameter of this tool . |
String |
getOutObjectName()
Returns the Output Map Server parameter of this tool (Read only). |
String |
getOutServerName()
Returns the Output Host parameter of this tool (Read only). |
String |
getServerName()
Returns the Host parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
void |
setDataFrame(String dataFrame)
Sets the Data Frame parameter of this tool . |
void |
setLayer(Object layer)
Sets the Input Layers parameter of this tool . |
void |
setObjectName(String objectName)
Sets the Map Server parameter of this tool . |
void |
setServerName(String serverName)
Sets the Host parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteMapServerCache()
Initializes the array of tool parameters with the default values specified when the tool was created.
public DeleteMapServerCache(String serverName, String objectName, String dataFrame, Object layer)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
serverName
- the ArcGIS Server machine hosting the service whose cache will be deleted.objectName
- the map service whose cache will be deleted.dataFrame
- the source data frame of the cache to be deleted. This appears in the user interface for informational purposes only and cannot be changed.layer
- the layers to delete from the cache (only applies to multi-layer caches). Layers that are included will be removed from the cache. Excluded layers will remain.Method Detail |
---|
public String getServerName()
public void setServerName(String serverName)
serverName
- the ArcGIS Server machine hosting the service whose cache will be deleted.public String getObjectName()
public void setObjectName(String objectName)
objectName
- the map service whose cache will be deleted.public String getDataFrame()
public void setDataFrame(String dataFrame)
dataFrame
- the source data frame of the cache to be deleted. This appears in the user interface for informational purposes only and cannot be changed.public Object getLayer()
public void setLayer(Object layer)
layer
- the layers to delete from the cache (only applies to multi-layer caches). Layers that are included will be removed from the cache. Excluded layers will remain.public String getOutServerName()
public String getOutObjectName()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |