com.ibm.portal.outbound.config
Interface PolicyRuleCreationContext

All Superinterfaces:
CreationContext

public interface PolicyRuleCreationContext
extends CreationContext

The creation context for a new policy rule.
PolicyMapping theOwner; OutboundConnectionModelController ctrl;
˙˙˙ PolicyRuleCreationContext cc = OutboundConnectionCreationContextBuilderFactory.getInstance(). getPolicyRuleCreationContext(owner, "rule1", "http://www.myserver.com/test/*"); ctrl.create(ModifiableOutboundConnectionProfile.class, cc);

Since:
8.5.0
See Also:
OutboundConnectionCreationContextBuilderFactory, PolicyMapping

Method Summary
 java.lang.String getName()
          return the administrative name of the new policy rule.
 PolicyMapping getParent()
          return the owner of the new Policy rule.
 java.lang.String getUrlPattern()
          Return the URL pattern of the new policy rule.
 

Method Detail

getParent

PolicyMapping getParent()
return the owner of the new Policy rule.

Returns:
PolicyMapping the policy mapping that owns this policy rule. Never null.

getName

java.lang.String getName()
return the administrative name of the new policy rule. If the method returns null, the administrative name will be created by the system.

Returns:
String an administrative name for the new Policy rule. May be null.

getUrlPattern

java.lang.String getUrlPattern()
Return the URL pattern of the new policy rule.

Returns:
The URL pattern for the new policy rule. never null. The URL pattern must be unique to all policy rule items that have the same owner.