@Component @Singleton @Named(value="progress") public class ProgressScripService extends Object implements ScriptService
| Constructor and Description |
|---|
ProgressScripService() |
| Modifier and Type | Method and Description |
|---|---|
void |
endStep()
Close current step.
|
void |
popLevel()
Pop current progression level.
|
void |
pushLevel()
Push new progression level with unknown number of steps.
|
void |
pushLevel(int steps)
Push new progression level.
|
void |
startStep()
Close current step if any and move to next one.
|
void |
startStep(String name)
Close current step if any and move to next one.
|
void |
startStep(String translationKey,
String message,
Object... arguments)
Close current step if any and move to next one.
|
public void pushLevel()
public void pushLevel(int steps)
steps - number of steps in this new levelpublic void popLevel()
public void startStep()
public void startStep(String name)
name - the name of the steppublic void startStep(String translationKey, String message, Object... arguments)
translationKey - the key used to find the translation of the step messagemessage - the default message associated to the steparguments - the arguments to insert in the step messagepublic void endStep()
Copyright © 2004–2017 XWiki. All rights reserved.