public static class Agent.Factory extends AbstractFactory implements PropertyFactory<Agent>
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
Agent |
createProperty(Group group,
java.util.List<Parameter> params,
java.lang.String value) |
Agent |
createProperty(java.util.List<Parameter> params,
java.lang.String value) |
supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supports
public Agent createProperty(java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException
createProperty
in interface PropertyFactory<Agent>
params
- property parameters used to construct a new instancevalue
- a property value used to construct a new instancejava.net.URISyntaxException
- where an invalid URL is specified in the property valuepublic Agent createProperty(Group group, java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException
createProperty
in interface PropertyFactory<Agent>
group
- the property groupparams
- property parameters used to construct a new instancevalue
- a property value used to construct a new instancejava.net.URISyntaxException
- where an invalid URL is specified in the property value