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

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

public class SharePackage
extends AbstractGPTool

Shares a package by publishing to ArcGIS Online. The Share Package tool is contained in the Data Management Tools tool box.


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
SharePackage()
          Creates the Share Package tool with defaults.
SharePackage(java.lang.Object inputFile, java.lang.String username, java.lang.Object password)
          Creates the Share Package tool with the required parameters.
 
Method Summary
 java.lang.Object getInputFile()
          Returns the Input Package parameter of this tool .
 java.lang.String getOutResults()
          Returns the Tool Succeeded parameter of this tool (Read only).
 java.lang.Object getPassword()
          Returns the Password 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.String getUsername()
          Returns the Username parameter of this tool .
 void setInputFile(java.lang.Object inputFile)
          Sets the Input Package parameter of this tool .
 void setPassword(java.lang.Object password)
          Sets the Password parameter of this tool .
 void setUsername(java.lang.String username)
          Sets the Username 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

SharePackage

public SharePackage()
Creates the Share Package tool with defaults.

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


SharePackage

public SharePackage(java.lang.Object inputFile,
                    java.lang.String username,
                    java.lang.Object password)
Creates the Share Package 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:
inputFile - null
username - eSRI global account username.
password - eSRI global account password.
Method Detail

getInputFile

public java.lang.Object getInputFile()
Returns the Input Package parameter of this tool . This is a required parameter.

Returns:
the Input Package

setInputFile

public void setInputFile(java.lang.Object inputFile)
Sets the Input Package parameter of this tool . This is a required parameter.

Parameters:
inputFile - null

getUsername

public java.lang.String getUsername()
Returns the Username parameter of this tool . This parameter is eSRI global account username. This is a required parameter.

Returns:
the Username

setUsername

public void setUsername(java.lang.String username)
Sets the Username parameter of this tool . This parameter is eSRI global account username. This is a required parameter.

Parameters:
username - eSRI global account username.

getPassword

public java.lang.Object getPassword()
Returns the Password parameter of this tool . This parameter is eSRI global account password. This is a required parameter.

Returns:
the Password

setPassword

public void setPassword(java.lang.Object password)
Sets the Password parameter of this tool . This parameter is eSRI global account password. This is a required parameter.

Parameters:
password - eSRI global account password.

getOutResults

public java.lang.String getOutResults()
Returns the Tool Succeeded parameter of this tool (Read only). This is an derived parameter.

Returns:
the Tool Succeeded

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