ch.sahits.game.openpatrician.model.player.BaseStrategyType<ch.sahits.game.openpatrician.model.player.IAIHireTradeManagerStrategy>, ch.sahits.game.openpatrician.model.player.IAIHireTradeManagerStrategyTypepublic enum EHireTradeManagerStrategyType extends java.lang.Enum<EHireTradeManagerStrategyType> implements ch.sahits.game.openpatrician.model.player.IAIHireTradeManagerStrategyType
| Enum Constant | Description |
|---|---|
CAPACITY_BASED_HIRING_POLICY |
Strategy based on the available and used storage capacity.
|
TOWN_STRATEGY_BASED_HIRING |
Stragegy based on wokshops, offices and common strategy.
|
| Modifier and Type | Method | Description |
|---|---|---|
ch.sahits.game.openpatrician.model.player.IAIHireTradeManagerStrategy |
getStrategy() |
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
|
static EHireTradeManagerStrategyType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EHireTradeManagerStrategyType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EHireTradeManagerStrategyType CAPACITY_BASED_HIRING_POLICY
public static final EHireTradeManagerStrategyType TOWN_STRATEGY_BASED_HIRING
public static EHireTradeManagerStrategyType[] values()
for (EHireTradeManagerStrategyType c : EHireTradeManagerStrategyType.values()) System.out.println(c);
public static EHireTradeManagerStrategyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
org.springframework.beans.BeansExceptionpublic ch.sahits.game.openpatrician.model.player.IAIHireTradeManagerStrategy getStrategy()
getStrategy in interface ch.sahits.game.openpatrician.model.player.BaseStrategyType<ch.sahits.game.openpatrician.model.player.IAIHireTradeManagerStrategy>Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.