parse
public abstract Object parse(Timings.Timing timing,
Object context,
Map<String,Object> vars,
Object... args)
throws Exception
Replace this placeholder with appropriate value.
- Parameters:
timing
- the parent timing instance. Extend timing using this instance, not creating new one. Can be null.
context
- the context where placeholder was used. It's Event for Bukkit API.
vars
- variables that will be used in the Placeholder. Some may can be overridden.
args
- arguments to be used
- Returns:
- replaced value. Should be always primitive type. Can be null if something went wrong
- Throws:
Exception