|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.component.shop.StockUpdaterJobletConfig.LocaleConfig
public static final class StockUpdaterJobletConfig.LocaleConfig
The configuration for a certain Locale.
| Constructor Summary | |
|---|---|
protected |
StockUpdaterJobletConfig.LocaleConfig()
The no-argument constructor. |
|
StockUpdaterJobletConfig.LocaleConfig(java.util.Locale pLocale,
java.lang.String pDataFile,
boolean pDeleteDataFile,
int pActivationValue,
java.util.Collection<StockUpdaterJobletConfig.ExtraActivationValue> pExtraAxctivationValues,
java.util.Collection<java.lang.String> pExcludeItems,
java.util.Collection<java.lang.String> pActivateItems,
java.util.Collection<java.lang.String> pDeactivateItems, EmailConfiguration pReportEmailConfig)
The constructor that sets the Locale, the path to the
data file, the flag indicating whether the data file is to be deleted
after processing, the activation value, the extra activation values,
the items to be excluded, the items to be activated, the items to be
deactivated and the EmailConfiguration. |
| Method Summary | |
|---|---|
java.util.Set<java.lang.String> |
getActivateItems()
Returns the items to be activated. |
int |
getActivationValue()
Returns the value of the available number of a shop item needed to activate the shop item or leave it active. |
java.lang.String |
getDataFile()
Returns the path to the data file used by the StockUpdaterJoblet. |
java.util.Set<java.lang.String> |
getDeactivateItems()
Returns the items to be deactivated. |
java.util.Set<java.lang.String> |
getExcludeItems()
Returns the items to be excluded from activation/deactivation. |
java.util.Set<StockUpdaterJobletConfig.ExtraActivationValue> |
getExtraActivationValues()
Returns the extra activation values. |
java.util.Locale |
getLocale()
Returns the Locale. |
EmailConfiguration |
getReportEmailConfig()
Returns the EmailConfiguration used to send the report
e-mails. |
boolean |
isDeleteDataFile()
Returns the flag indicating whether the data file is to be deleted after processing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected StockUpdaterJobletConfig.LocaleConfig()
public StockUpdaterJobletConfig.LocaleConfig(java.util.Locale pLocale,
java.lang.String pDataFile,
boolean pDeleteDataFile,
int pActivationValue,
java.util.Collection<StockUpdaterJobletConfig.ExtraActivationValue> pExtraAxctivationValues,
java.util.Collection<java.lang.String> pExcludeItems,
java.util.Collection<java.lang.String> pActivateItems,
java.util.Collection<java.lang.String> pDeactivateItems, EmailConfiguration pReportEmailConfig)
Locale, the path to the
data file, the flag indicating whether the data file is to be deleted
after processing, the activation value, the extra activation values,
the items to be excluded, the items to be activated, the items to be
deactivated and the EmailConfiguration.
pLocale - the Locale to setpDataFile - the the path to the data file to setpDeleteDataFile - the flag indicating whether the data file is to be deleted
after processingpActivationValue - the activation value to setpExtraAxctivationValues - the extra activation values to set. May be
nullpExcludeItems - the items to be excluded to set. May be nullpActivateItems - the items to be activated to set. May be nullpDeactivateItems - the items to be deactivated to set. May be
nullpReportEmailConfig - the EmailConfiguration to set
java.lang.NullPointerException - if the given Locale, the given path to the
data file or the given EmailConfiguration is
null
java.lang.IllegalArgumentException - if the given path to the data file is an empty
String| Method Detail |
|---|
public java.util.Locale getLocale()
Locale.
Localepublic java.lang.String getDataFile()
StockUpdaterJoblet.
public boolean isDeleteDataFile()
public int getActivationValue()
public java.util.Set<StockUpdaterJobletConfig.ExtraActivationValue> getExtraActivationValues()
public java.util.Set<java.lang.String> getExcludeItems()
public java.util.Set<java.lang.String> getActivateItems()
public java.util.Set<java.lang.String> getDeactivateItems()
public EmailConfiguration getReportEmailConfig()
EmailConfiguration used to send the report
e-mails.
EmailConfiguration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||