public class ConstructorFactory extends Object implements AgentFactory
| Constructor and Description |
|---|
ConstructorFactory(Class<? extends Agent> clazz,
Constructor<?> constructor,
Function<String,?>[] converters) |
ConstructorFactory(Class<? extends Agent> clazz,
Constructor<?> constructor,
Function<String,?>[] converters,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Agent |
build(String... args) |
String |
name() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuildpublic ConstructorFactory(Class<? extends Agent> clazz, Constructor<?> constructor, Function<String,?>[] converters)
public Agent build(String... args)
build in interface AgentFactorypublic String name()
name in interface AgentFactoryCopyright © 2017 FOSS Galaxy. All rights reserved.