public class SingleGangerFactory<P,A> extends Object implements GangerFactory<P,A>
| Modifier and Type | Method and Description |
|---|---|
static <P,A> Ganger<P,A> |
createGanger()
Returns a single-zone ganger with default padding.
|
static <P,A> Ganger<P,A> |
createGanger(Padding padding)
Returns a single-zone ganger with specified padding.
|
Ganger<P,A> |
createGanger(Padding padding,
ConfigMap config,
GangContext context)
Creates a ganger.
|
ConfigKey<?>[] |
getGangerKeys()
Returns the configuration keys that can be used to configure
the gangers produced by this factory.
|
boolean |
hasIndependentZones()
Indicates whether this ganger factory has zones that can be created
according to the details of the plot and controlled independently
by user request.
|
static <P,A> SingleGangerFactory<P,A> |
instance()
Returns the sole instance of this class.
|
public boolean hasIndependentZones()
GangerFactoryhasIndependentZones in interface GangerFactory<P,A>public ConfigKey<?>[] getGangerKeys()
GangerFactorygetGangerKeys in interface GangerFactory<P,A>public Ganger<P,A> createGanger(Padding padding, ConfigMap config, GangContext context)
GangerFactorycreateGanger in interface GangerFactory<P,A>padding - required padding around plot areaconfig - configuration map that may contain keys from
getGangerKeyscontext - additional context required for ganger creationpublic static <P,A> SingleGangerFactory<P,A> instance()
public static <P,A> Ganger<P,A> createGanger(Padding padding)
padding - padding, may be nullpublic static <P,A> Ganger<P,A> createGanger()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.