com.esri.arcgis.geoprocessing.tools.servertools
Class UpdateMapServerCacheScales

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.servertools.UpdateMapServerCacheScales
All Implemented Interfaces:
GPTool

public class UpdateMapServerCacheScales
extends AbstractGPTool

The Update Map Server Cache Scales tool is contained in the Server Tools tool box.


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
UpdateMapServerCacheScales()
          Creates the Update Map Server Cache Scales tool with defaults.
UpdateMapServerCacheScales(String serverName, String objectName, Object levels)
          Creates the Update Map Server Cache Scales tool with the required parameters.
 
Method Summary
 Object getLevels()
          Returns the Scales parameter of this tool .
 String getObjectName()
          Returns the Map Server parameter of this tool .
 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 setLevels(Object levels)
          Sets the Scales 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

UpdateMapServerCacheScales

public UpdateMapServerCacheScales()
Creates the Update Map Server Cache Scales tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


UpdateMapServerCacheScales

public UpdateMapServerCacheScales(String serverName,
                                  String objectName,
                                  Object levels)
Creates the Update Map Server Cache Scales tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
serverName - null
objectName - null
levels - null
Method Detail

getServerName

public String getServerName()
Returns the Host parameter of this tool . This is a required parameter.

Returns:
the Host

setServerName

public void setServerName(String serverName)
Sets the Host parameter of this tool . This is a required parameter.

Parameters:
serverName - null

getObjectName

public String getObjectName()
Returns the Map Server parameter of this tool . This is a required parameter.

Returns:
the Map Server

setObjectName

public void setObjectName(String objectName)
Sets the Map Server parameter of this tool . This is a required parameter.

Parameters:
objectName - null

getLevels

public Object getLevels()
Returns the Scales parameter of this tool . This is a required parameter.

Returns:
the Scales

setLevels

public void setLevels(Object levels)
Sets the Scales parameter of this tool . This is a required parameter.

Parameters:
levels - null

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias