public class LivePriceGridAction<ATTACHEDTO extends Help>
extends Action
Constructor and Description |
---|
LivePriceGridAction(ATTACHEDTO backLink,
Invocations<MethodInvocationRecord> invocations,
String livePriceGridLabel) |
Modifier and Type | Method and Description |
---|---|
ATTACHEDTO |
back() |
Boolean |
getCalculate() |
int |
getDistributedCalculationThreshold() |
String |
getLivePriceGridLabel() |
String |
getObjectName() |
int |
getPriority() |
List<String> |
getRestrictToSkus() |
LivePriceGridAction<ATTACHEDTO> |
restrictToSkus(List<String> skus)
Restricts LPG calculation to list of presented skus
|
LivePriceGridAction<ATTACHEDTO> |
setCalculate(Boolean calculate)
Whether the action is valid and should be triggered or not.
|
LivePriceGridAction<ATTACHEDTO> |
setDistributedCalculationThreshold(int threshold)
Sets a job-individual threshold to start a distributed calculation.
|
LivePriceGridAction<ATTACHEDTO> |
setPriority(int priority)
Sets the prority of this job.
|
String |
toString() |
public LivePriceGridAction(ATTACHEDTO backLink, Invocations<MethodInvocationRecord> invocations, String livePriceGridLabel)
public LivePriceGridAction<ATTACHEDTO> setCalculate(Boolean calculate)
calculate
- public LivePriceGridAction<ATTACHEDTO> setPriority(int priority)
priority
- Default is 0 (lowest user-definable priority). Max value is 9.public LivePriceGridAction<ATTACHEDTO> setDistributedCalculationThreshold(int threshold)
threshold
- The number of items that need to be part of the job in order to execute it in distributed mode.public LivePriceGridAction<ATTACHEDTO> restrictToSkus(List<String> skus)
skus
- list of skus to process.spublic ATTACHEDTO back()
public String getObjectName()
public String getLivePriceGridLabel()
public Boolean getCalculate()
public int getPriority()
public int getDistributedCalculationThreshold()
Copyright © 2019. All rights reserved.