com.esri.arcgis.geoprocessing.tools.datamanagementtools
Class MakeImageServerLayer

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

public class MakeImageServerLayer
extends AbstractGPTool

Creates an image layer from an image service. The layer that is created by the tool is temporary and will not persist after the session ends unless the document is saved. The Make Image Server Layer tool is contained in the Data Management Tools tool box.

Software restrictions: none

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
MakeImageServerLayer()
          Creates the Make Image Server Layer tool with defaults.
MakeImageServerLayer(Object inImageService, Object outImageserverLayer)
          Creates the Make Image Server Layer tool with the required parameters.
 
Method Summary
 Object getBandIndex()
          Returns the Bands parameter of this tool .
 Object getInImageService()
          Returns the Input Image Service parameter of this tool .
 String getLockRasterid()
          Returns the Lock Raster ID parameter of this tool .
 String getMosaicMethod()
          Returns the Mosaic Method parameter of this tool .
 String getOrderBaseValue()
          Returns the Order Base Field parameter of this tool .
 String getOrderField()
          Returns the Order Field parameter of this tool .
 Object getOutImageserverLayer()
          Returns the Output Image Server Layer parameter of this tool .
 Object getTemplate()
          Returns the Template Extent 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 setBandIndex(Object bandIndex)
          Sets the Bands parameter of this tool .
 void setInImageService(Object inImageService)
          Sets the Input Image Service parameter of this tool .
 void setLockRasterid(String lockRasterid)
          Sets the Lock Raster ID parameter of this tool .
 void setMosaicMethod(String mosaicMethod)
          Sets the Mosaic Method parameter of this tool .
 void setOrderBaseValue(String orderBaseValue)
          Sets the Order Base Field parameter of this tool .
 void setOrderField(String orderField)
          Sets the Order Field parameter of this tool .
 void setOutImageserverLayer(Object outImageserverLayer)
          Sets the Output Image Server Layer parameter of this tool .
 void setTemplate(Object template)
          Sets the Template Extent 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

MakeImageServerLayer

public MakeImageServerLayer()
Creates the Make Image Server Layer tool with defaults.

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


MakeImageServerLayer

public MakeImageServerLayer(Object inImageService,
                            Object outImageserverLayer)
Creates the Make Image Server Layer 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:
inImageService - Image Service Layer, the name of the input image service.
outImageserverLayer - Raster Layer, the name of the output image layer.
Method Detail

getInImageService

public Object getInImageService()
Returns the Input Image Service parameter of this tool . This parameter is Image Service Layer, the name of the input image service. This is a required parameter.

Returns:
the Input Image Service

setInImageService

public void setInImageService(Object inImageService)
Sets the Input Image Service parameter of this tool . This parameter is Image Service Layer, the name of the input image service. This is a required parameter.

Parameters:
inImageService - Image Service Layer, the name of the input image service.

getOutImageserverLayer

public Object getOutImageserverLayer()
Returns the Output Image Server Layer parameter of this tool . This parameter is Raster Layer, the name of the output image layer. This is a required parameter.

Returns:
the Output Image Server Layer

setOutImageserverLayer

public void setOutImageserverLayer(Object outImageserverLayer)
Sets the Output Image Server Layer parameter of this tool . This parameter is Raster Layer, the name of the output image layer. This is a required parameter.

Parameters:
outImageserverLayer - Raster Layer, the name of the output image layer.

getTemplate

public Object getTemplate()
Returns the Template Extent parameter of this tool . This parameter is Layer, the output extent of the image layer. The output extent can either be specified by defining the area to be clipped (X-Minimum, Y-Minimum, X-Maximum, Y-Maximum) or by using the extent of an existing layer. This is an optional parameter.

Returns:
the Template Extent

setTemplate

public void setTemplate(Object template)
Sets the Template Extent parameter of this tool . This parameter is Layer, the output extent of the image layer. The output extent can either be specified by defining the area to be clipped (X-Minimum, Y-Minimum, X-Maximum, Y-Maximum) or by using the extent of an existing layer. This is an optional parameter.

Parameters:
template - Layer, the output extent of the image layer. The output extent can either be specified by defining the area to be clipped (X-Minimum, Y-Minimum, X-Maximum, Y-Maximum) or by using the extent of an existing layer.

getBandIndex

public Object getBandIndex()
Returns the Bands parameter of this tool . This parameter is Bands, choose which bands to export from the image service. If no bands are specified, then all the bands will be used in the output. This is an optional parameter.

Returns:
the Bands

setBandIndex

public void setBandIndex(Object bandIndex)
Sets the Bands parameter of this tool . This parameter is Bands, choose which bands to export from the image service. If no bands are specified, then all the bands will be used in the output. This is an optional parameter.

Parameters:
bandIndex - Bands, choose which bands to export from the image service. If no bands are specified, then all the bands will be used in the output.

getMosaicMethod

public String getMosaicMethod()
Returns the Mosaic Method parameter of this tool . This parameter is String, the mosaic method defines how the mosaic is created from different rasters. An image returned to the client can be created from a number of input rasters. The mosaic process has two options available. This is an optional parameter.

Returns:
the Mosaic Method

setMosaicMethod

public void setMosaicMethod(String mosaicMethod)
Sets the Mosaic Method parameter of this tool . This parameter is String, the mosaic method defines how the mosaic is created from different rasters. An image returned to the client can be created from a number of input rasters. The mosaic process has two options available. This is an optional parameter.

Parameters:
mosaicMethod - String, the mosaic method defines how the mosaic is created from different rasters. An image returned to the client can be created from a number of input rasters. The mosaic process has two options available.

getOrderField

public String getOrderField()
Returns the Order Field parameter of this tool . This parameter is Fields, the default field to use to order rasters when the mosaic method is By Attribute. This is an optional parameter.

Returns:
the Order Field

setOrderField

public void setOrderField(String orderField)
Sets the Order Field parameter of this tool . This parameter is Fields, the default field to use to order rasters when the mosaic method is By Attribute. This is an optional parameter.

Parameters:
orderField - Fields, the default field to use to order rasters when the mosaic method is By Attribute.

getOrderBaseValue

public String getOrderBaseValue()
Returns the Order Base Field parameter of this tool . This parameter is Long, the images are sorted based on the difference between this input value and attribute value in the specified field. This is an optional parameter.

Returns:
the Order Base Field

setOrderBaseValue

public void setOrderBaseValue(String orderBaseValue)
Sets the Order Base Field parameter of this tool . This parameter is Long, the images are sorted based on the difference between this input value and attribute value in the specified field. This is an optional parameter.

Parameters:
orderBaseValue - Long, the images are sorted based on the difference between this input value and attribute value in the specified field.

getLockRasterid

public String getLockRasterid()
Returns the Lock Raster ID parameter of this tool . This parameter is Integer, raster ID or raster name to which the service should be locked, such that only the specified rasters are displayed. If left blank (undefined), it will be similar to system default. Multiple IDs can be defined as a semicolon-delimited list. This is an optional parameter.

Returns:
the Lock Raster ID

setLockRasterid

public void setLockRasterid(String lockRasterid)
Sets the Lock Raster ID parameter of this tool . This parameter is Integer, raster ID or raster name to which the service should be locked, such that only the specified rasters are displayed. If left blank (undefined), it will be similar to system default. Multiple IDs can be defined as a semicolon-delimited list. This is an optional parameter.

Parameters:
lockRasterid - Integer, raster ID or raster name to which the service should be locked, such that only the specified rasters are displayed. If left blank (undefined), it will be similar to system default. Multiple IDs can be defined as a semicolon-delimited list.

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