public class RestMethod extends AbstractWsdlModelItem<RestMethodConfig> implements MutableTestPropertyHolder, PropertyChangeListener
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY| Constructor and Description | 
|---|
| RestMethod(RestResource service,
          RestMethodConfig methodConfig) | 
addExternalDependencies, afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setName, setSettingsaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerpublic RestMethod(RestResource service, RestMethodConfig methodConfig)
public RestParamsPropertyHolder getOverlayParams()
public RestResource getOperation()
public RestParamProperty addProperty(String name)
addProperty in interface MutableTestPropertyHolderpublic void moveProperty(String propertyName, int targetIndex)
moveProperty in interface MutableTestPropertyHolderpublic RestParamProperty removeProperty(String propertyName)
removeProperty in interface MutableTestPropertyHolderpublic boolean renameProperty(String name, String newName)
renameProperty in interface MutableTestPropertyHolderpublic void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener in interface TestPropertyHolderpublic RestParamsPropertyHolder getParams()
public ModelItem getModelItem()
getModelItem in interface TestPropertyHolderpublic Map<String,TestProperty> getProperties()
getProperties in interface TestPropertyHolderpublic RestParamProperty getProperty(String name)
getProperty in interface TestPropertyHolderpublic RestParamProperty getPropertyAt(int index)
getPropertyAt in interface TestPropertyHolderpublic int getPropertyCount()
getPropertyCount in interface TestPropertyHolderpublic String[] getPropertyNames()
getPropertyNames in interface TestPropertyHolderpublic String getPropertyValue(String name)
getPropertyValue in interface TestPropertyHolderpublic boolean hasProperty(String name)
hasProperty in interface TestPropertyHolderpublic void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener in interface TestPropertyHolderpublic void setPropertyValue(String name, String value)
setPropertyValue in interface TestPropertyHolderpublic String getPropertiesLabel()
getPropertiesLabel in interface TestPropertyHolderpublic boolean hasRequestBody()
public void propertyChange(PropertyChangeEvent arg0)
propertyChange in interface PropertyChangeListenerpublic PropertyExpansion[] getPropertyExpansions()
public RestRequestInterface.HttpMethod getMethod()
public void setMethod(RestRequestInterface.HttpMethod method)
public String getDefaultRequestMediaType()
public RestRepresentation[] getRepresentations()
public RestRepresentation[] getRepresentations(RestRepresentation.Type type, String mediaType)
public String[] getResponseMediaTypes()
public RestRepresentation addNewRepresentation(RestRepresentation.Type type)
public void removeRepresentation(RestRepresentation representation)
public void removeRequest(RestRequest request)
public RestResource getResource()
public List<RestRequest> getRequestList()
public RestRequest getRequestAt(int index)
public RestRequest getRequestByName(String name)
public int getRequestCount()
public RestRequest addNewRequest(String name)
public RestRequest cloneRequest(RestRequest request, String name)
public RestParamProperty[] getDefaultParams()
public RestService getInterface()
public List<? extends ModelItem> getChildren()
getChildren in interface ModelItemgetChildren in class AbstractModelItempublic void release()
release in interface Releasablerelease in class AbstractWsdlModelItem<RestMethodConfig>public List<TestProperty> getPropertyList()
getPropertyList in interface TestPropertyHolderCopyright © 2019. All Rights Reserved.