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

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

public class SynchronizeMosaicDataset
extends AbstractGPTool

Rebuilds the raster item and updates affected fields in the mosaic dataset using the raster type and options that were used when it was originally added. The Synchronize Mosaic Dataset tool is contained in the Data Management Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
SynchronizeMosaicDataset()
          Creates the Synchronize Mosaic Dataset tool with defaults.
SynchronizeMosaicDataset(java.lang.Object inMosaicDataset)
          Creates the Synchronize Mosaic Dataset tool with the required parameters.
 
Method Summary
 java.lang.String getBuildPyramids()
          Returns the Build Raster Pyramids parameter of this tool .
 java.lang.String getBuildThumbnails()
          Returns the Build Thumbnails parameter of this tool .
 java.lang.String getCalculateStatistics()
          Returns the Calculate Statistics parameter of this tool .
 java.lang.Object getInMosaicDataset()
          Returns the Mosaic Dataset parameter of this tool .
 java.lang.Object getOutMosaicDataset()
          Returns the Mosaic Dataset parameter of this tool (Read only).
 java.lang.String getSyncOnlyStale()
          Returns the Synchronize Stale Items Only parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 java.lang.Object getWhereClause()
          Returns the Query Definition parameter of this tool .
 void setBuildPyramids(java.lang.String buildPyramids)
          Sets the Build Raster Pyramids parameter of this tool .
 void setBuildThumbnails(java.lang.String buildThumbnails)
          Sets the Build Thumbnails parameter of this tool .
 void setCalculateStatistics(java.lang.String calculateStatistics)
          Sets the Calculate Statistics parameter of this tool .
 void setInMosaicDataset(java.lang.Object inMosaicDataset)
          Sets the Mosaic Dataset parameter of this tool .
 void setSyncOnlyStale(java.lang.String syncOnlyStale)
          Sets the Synchronize Stale Items Only parameter of this tool .
 void setWhereClause(java.lang.Object whereClause)
          Sets the Query Definition 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

SynchronizeMosaicDataset

public SynchronizeMosaicDataset()
Creates the Synchronize Mosaic Dataset tool with defaults.

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


SynchronizeMosaicDataset

public SynchronizeMosaicDataset(java.lang.Object inMosaicDataset)
Creates the Synchronize Mosaic Dataset 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:
inMosaicDataset - path and name of mosaic dataset.
Method Detail

getInMosaicDataset

public java.lang.Object getInMosaicDataset()
Returns the Mosaic Dataset parameter of this tool . This parameter is path and name of mosaic dataset. This is a required parameter.

Returns:
the Mosaic Dataset

setInMosaicDataset

public void setInMosaicDataset(java.lang.Object inMosaicDataset)
Sets the Mosaic Dataset parameter of this tool . This parameter is path and name of mosaic dataset. This is a required parameter.

Parameters:
inMosaicDataset - path and name of mosaic dataset.

getWhereClause

public java.lang.Object getWhereClause()
Returns the Query Definition parameter of this tool . This parameter is using SQL you can define a query, or use the Query Builder to build a query. This is an optional parameter.

Returns:
the Query Definition

setWhereClause

public void setWhereClause(java.lang.Object whereClause)
Sets the Query Definition parameter of this tool . This parameter is using SQL you can define a query, or use the Query Builder to build a query. This is an optional parameter.

Parameters:
whereClause - using SQL you can define a query, or use the Query Builder to build a query.

getSyncOnlyStale

public java.lang.String getSyncOnlyStale()
Returns the Synchronize Stale Items Only parameter of this tool . This parameter is if the base rasters used to create a raster, such as an overview, have been synchronized, then the overview will be updated. This is an optional parameter.

Returns:
the Synchronize Stale Items Only

setSyncOnlyStale

public void setSyncOnlyStale(java.lang.String syncOnlyStale)
Sets the Synchronize Stale Items Only parameter of this tool . This parameter is if the base rasters used to create a raster, such as an overview, have been synchronized, then the overview will be updated. This is an optional parameter.

Parameters:
syncOnlyStale - if the base rasters used to create a raster, such as an overview, have been synchronized, then the overview will be updated.

getBuildPyramids

public java.lang.String getBuildPyramids()
Returns the Build Raster Pyramids parameter of this tool . This parameter is pyramids can be built for each raster item in the mosaic dataset. Pyramids can improve the speed at which each raster can be displayed. This is an optional parameter.

Returns:
the Build Raster Pyramids

setBuildPyramids

public void setBuildPyramids(java.lang.String buildPyramids)
Sets the Build Raster Pyramids parameter of this tool . This parameter is pyramids can be built for each raster item in the mosaic dataset. Pyramids can improve the speed at which each raster can be displayed. This is an optional parameter.

Parameters:
buildPyramids - pyramids can be built for each raster item in the mosaic dataset. Pyramids can improve the speed at which each raster can be displayed.

getCalculateStatistics

public java.lang.String getCalculateStatistics()
Returns the Calculate Statistics parameter of this tool . This parameter is statistics can be calculated for each raster item in the mosaic dataset. Statistics are requied for your mosaic dataset when performing certain tasks, such as applying a contrast stretch. This is an optional parameter.

Returns:
the Calculate Statistics

setCalculateStatistics

public void setCalculateStatistics(java.lang.String calculateStatistics)
Sets the Calculate Statistics parameter of this tool . This parameter is statistics can be calculated for each raster item in the mosaic dataset. Statistics are requied for your mosaic dataset when performing certain tasks, such as applying a contrast stretch. This is an optional parameter.

Parameters:
calculateStatistics - statistics can be calculated for each raster item in the mosaic dataset. Statistics are requied for your mosaic dataset when performing certain tasks, such as applying a contrast stretch.

getBuildThumbnails

public java.lang.String getBuildThumbnails()
Returns the Build Thumbnails parameter of this tool . This parameter is thumbnails are small, highly resampled images that can be created for each raster item in the mosaic definition. Thumbnails can be accessed when the mosaic dataset is accessed as in image service. This is an optional parameter.

Returns:
the Build Thumbnails

setBuildThumbnails

public void setBuildThumbnails(java.lang.String buildThumbnails)
Sets the Build Thumbnails parameter of this tool . This parameter is thumbnails are small, highly resampled images that can be created for each raster item in the mosaic definition. Thumbnails can be accessed when the mosaic dataset is accessed as in image service. This is an optional parameter.

Parameters:
buildThumbnails - thumbnails are small, highly resampled images that can be created for each raster item in the mosaic definition. Thumbnails can be accessed when the mosaic dataset is accessed as in image service.

getOutMosaicDataset

public java.lang.Object getOutMosaicDataset()
Returns the Mosaic Dataset parameter of this tool (Read only). This is an derived parameter.

Returns:
the Mosaic Dataset

getToolName

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

Returns:
the tool name

getToolboxName

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

Returns:
the tool box name

getToolboxAlias

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

Returns:
the tool box alias