|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.idp.dsc.registry.endpoint.CreateEndpointInfo
public class CreateEndpointInfo
Enables the creation of an endpoint that is able to invoke a service.
When programmatically adding an endpoint, you create a CreateEndpointInfo
object that defines
endpoint attributes such as the service that is invoked and the name
of the endpoint.
For information about programmatically adding an endpoint,
see Managing Endpoints in the Adobe Experience Manager forms SDK Help.
Nested Class Summary | |
---|---|
class |
CreateEndpointInfo.InputMapping
Represents an input data mapping value that is associated with an endpoint. |
class |
CreateEndpointInfo.OutputMapping
Represents an output data mapping value that is associated with an endpoint. |
Constructor Summary | |
---|---|
CreateEndpointInfo()
A constructor that creates a CreateEndpointInfo object. |
Method Summary | |
---|---|
java.lang.String |
getCategoryId()
Retrieves the endpoint category identifier value. |
java.util.Map |
getConfigParametersAsText()
Retrieves configuration values that are applicable to an endpoint. |
java.lang.String |
getConnectorId()
Retrieves the connector identifier value that belongs to this endpoint. |
java.lang.String |
getCreatedBy()
|
java.lang.String |
getDescription()
Retrieves a description of the endpoint. |
java.util.Map |
getInputParameterMappings()
Retrieves input data mapping values that are associated with this endpoint. |
java.lang.String |
getName()
Retrieves the name of this endpoint. |
java.lang.String |
getOperationName()
Retrieves the operation name that is invoked by this endpoint. |
java.util.Map |
getOutputParameterMappings()
Retrieves the output data mapping value that is associated with this endpoint. |
java.lang.String |
getServiceId()
Retrieves the service idenitifer value that is invoked using this endpoint. |
boolean |
isEnabled()
Retrives a value that specifies whether the endpoint is enabled. |
void |
setCategoryId(java.lang.String aId)
Sets the endpoint category. |
void |
setConfigParameterAsText(java.lang.String aParamName,
java.lang.String aValue)
Sets endpoint configuration values. |
void |
setConnectorId(java.lang.String aId)
Set this endpoint's connector identifier value. |
void |
setCreatedBy(java.lang.String m_createdBy)
|
void |
setDescription(java.lang.String aDescription)
Sets the description of the endpoint. |
void |
setEnabled(boolean aEnabled)
Sets a flag that specifies whether the endpoint is enabled. |
void |
setInputParameterMapping(java.lang.String aParamName,
java.lang.String aDataType,
java.lang.String aMappingType,
java.lang.String aMappingValue)
Sets input data mapping values for this endpoint. |
void |
setName(java.lang.String aName)
Sets the name of this endpoint. |
void |
setOperationName(java.lang.String aOperationName)
Sets the the operation name that is invoked using this endpoint. |
void |
setOutputParameterMapping(java.lang.String aParamName,
java.lang.String aDataType,
java.lang.String aMappingValue)
Sets the output data mapping value for this endpoint. |
void |
setServiceId(java.lang.String aId)
Sets the service identifier value that belongs to this endpoint. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateEndpointInfo()
CreateEndpointInfo
object.
Method Detail |
---|
public void setName(java.lang.String aName)
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API in the Adobe Experience Manager forms SDK Help.
aName
- The name of this endpoint.public java.lang.String getName()
public void setConnectorId(java.lang.String aId)
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API in the Adobe Experience Manager forms SDK Help.
aId
- A string value that specifies the connector identifier value.Connector
public java.lang.String getConnectorId()
public void setServiceId(java.lang.String aId)
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aId
- The name of the service that is invoked using this endpoint.public java.lang.String getServiceId()
public void setCategoryId(java.lang.String aId)
To see this method used in a code example, see the Adding a TaskManager endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aId
- The name of the category that is associated with this endpoint.public java.lang.String getCategoryId()
public void setInputParameterMapping(java.lang.String aParamName, java.lang.String aDataType, java.lang.String aMappingType, java.lang.String aMappingValue)
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aParamName
- The name of the input parameter.aDataType
- The data type of the input parameter.aMappingType
- Used to configure the input values required to invoke the service operation.
The following mapping types exist:
aMappingValue
- Specifies the value of the mapping type. For example, if you select a Variable
mapping type, then you can specify *.pdf as the file pattern.public java.util.Map getInputParameterMappings()
java.util.Map
object that contains input data mapping values associated with this endpoint.
A map entry exists for each operation input value.public void setOutputParameterMapping(java.lang.String aParamName, java.lang.String aDataType, java.lang.String aMappingValue)
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aParamName
- The name of the output parameter.aDataType
- The data type of the output parameter.aMappingValue
- The following options are available:
public java.util.Map getOutputParameterMappings()
java.util.Map
object that contains the output data mapping value
associated with this endpoint.public void setConfigParameterAsText(java.lang.String aParamName, java.lang.String aValue)
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aParamName
- The name of the configuration value to set.aValue
- The corresponding value.public java.util.Map getConfigParametersAsText()
java.util.Map
object that contains configuration values.public void setOperationName(java.lang.String aOperationName)
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API in the Adobe Experience Manager forms SDK Help.
aOperationName
- The name of the operation that is invoked.public java.lang.String getOperationName()
public void setEnabled(boolean aEnabled)
true
to enable the endpoint.
You can also enable an
endpoint by invoking the EndpointRegistryClient
object's enable
method.
aEnabled
- A boolean value that specifies if the endpoint is enabled.enable
public boolean isEnabled()
true
means that the endpoint is enabled.public java.lang.String getDescription()
public void setDescription(java.lang.String aDescription)
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API in the Adobe Experience Manager forms SDK Help.
aDescription
- A string value that specifies the description of the endpoint.public void setCreatedBy(java.lang.String m_createdBy)
public java.lang.String getCreatedBy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |