com.ibm.ws.rest.services.admin.tasks
Class AddRESTServiceTask

java.lang.Object
  extended by org.eclipse.emf.common.command.AbstractCommand
      extended by com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand
          extended by com.ibm.ws.bpm.config.admin.AbstractBPMAdminCommand
              extended by com.ibm.ws.rest.services.admin.tasks.AddRESTServiceTask
All Implemented Interfaces:
com.ibm.websphere.management.cmdframework.AdminCommand, org.eclipse.emf.common.command.Command

public class AddRESTServiceTask
extends AbstractBPMAdminCommand

AddRESTServiceProviderTask


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand
com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand.CmdNotificationListener
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.AbstractCommand.NonDirtying
 
Field Summary
(package private)  java.lang.String appName
           
protected  com.ibm.websphere.management.cmdframework.provider.CommandResultImpl commandResultImpl
           
(package private)  boolean enable
           
(package private)  boolean isPublic
           
protected static java.util.logging.Logger logger
           
(package private)  java.lang.String name
           
(package private)  java.lang.String relativeURL
           
(package private)  java.lang.String restDeploymentTargetContextID
           
(package private)  java.lang.String restDescription
           
(package private)  java.lang.String type
           
(package private)  java.lang.String typeDisplayName
           
(package private)  java.lang.String version
           
(package private)  java.lang.String webModuleName
           
 
Fields inherited from class com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand
ASYNC_CUSTOM_TAG, asyncCmdSession, cmdMgrType, cnh, DYNAMIC_CUSTOM_TAG, listSetParamsTable, PRIVATE_CUSTOM_TAG
 
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand
description, isExecutable, isPrepared, label
 
Constructor Summary
AddRESTServiceTask(com.ibm.websphere.management.cmdframework.commanddata.CommandData inCommandData)
           
AddRESTServiceTask(com.ibm.websphere.management.cmdframework.commandmetadata.CommandMetadata metadata)
           
 
Method Summary
 void execute()
           
protected  void initialize()
           
 
Methods inherited from class com.ibm.ws.bpm.config.admin.AbstractBPMAdminCommand
getDeploymentTargetContextID, validateDeploymentTarget
 
Methods inherited from class com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand
cleanupUploadedFiles, createParamEObject, createParameterMetadata, execute, generateScript, getChoices, getCmdMgrType, getCommandData, getCommandMetadata, getCommandMetadata, getCommandResult, getCommandSession, getConfigService, getConfigSession, getLocale, getName, getOrigParameterValue, getParameter, getParameter, getParameterMetadata, getResult, getTargetObject, getTargetObjectChoices, getUserData, initCommandData, initializeParameter, initializeParameter, isAsyncCommand, isDynamicStepCommand, isLocalMode, isParamReadonly, isPrivateParameter, isTable, listAllParameterName, listParameterName, listSetParams, listSetParams, redo, resetCommandData, resetCommandMetadata, save, sendNotification, setCmdHandler, setCmdMgrType, setCommandMetadata, setCommandResult, setCommandSession, setConfigSession, setListSetParamsTable, setLocale, setOrigParameterValue, setParameter, setParameter, setTargetObject, setupListener, validate
 
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand
canExecute, canUndo, chain, dispose, getAffectedObjects, getDescription, getLabel, prepare, setDescription, setLabel, toString, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.command.Command
canExecute, canUndo, chain, dispose, getAffectedObjects, getDescription, getLabel, undo
 

Field Detail

logger

protected static java.util.logging.Logger logger

commandResultImpl

protected com.ibm.websphere.management.cmdframework.provider.CommandResultImpl commandResultImpl

restDeploymentTargetContextID

java.lang.String restDeploymentTargetContextID

appName

java.lang.String appName

webModuleName

java.lang.String webModuleName

type

java.lang.String type

typeDisplayName

java.lang.String typeDisplayName

name

java.lang.String name

version

java.lang.String version

restDescription

java.lang.String restDescription

relativeURL

java.lang.String relativeURL

isPublic

boolean isPublic

enable

boolean enable
Constructor Detail

AddRESTServiceTask

public AddRESTServiceTask(com.ibm.websphere.management.cmdframework.commandmetadata.CommandMetadata metadata)
                   throws com.ibm.websphere.management.cmdframework.CommandNotFoundException
Throws:
com.ibm.websphere.management.cmdframework.CommandNotFoundException

AddRESTServiceTask

public AddRESTServiceTask(com.ibm.websphere.management.cmdframework.commanddata.CommandData inCommandData)
                   throws com.ibm.websphere.management.cmdframework.CommandNotFoundException,
                          com.ibm.websphere.management.cmdframework.CommandLoadException
Throws:
com.ibm.websphere.management.cmdframework.CommandNotFoundException
com.ibm.websphere.management.cmdframework.CommandLoadException
Method Detail

execute

public void execute()
Specified by:
execute in interface org.eclipse.emf.common.command.Command
Specified by:
execute in class com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand

initialize

protected void initialize()
                   throws com.ibm.websphere.management.cmdframework.RequiredParameterNotFoundException,
                          com.ibm.websphere.management.cmdframework.InvalidParameterNameException,
                          com.ibm.wbi.utils.configservice.WBIConfigException,
                          com.ibm.websphere.management.cmdframework.CommandValidationException
Throws:
com.ibm.websphere.management.cmdframework.RequiredParameterNotFoundException
com.ibm.websphere.management.cmdframework.InvalidParameterNameException
com.ibm.wbi.utils.configservice.WBIConfigException
com.ibm.websphere.management.cmdframework.CommandValidationException