Package com.atlassian.bamboo.soy
Class ElapsedTimeSoyFunction
- java.lang.Object
-
- com.atlassian.bamboo.soy.ElapsedTimeSoyFunction
-
- All Implemented Interfaces:
com.atlassian.soy.renderer.SoyClientFunction,com.atlassian.soy.renderer.SoyFunction,com.atlassian.soy.renderer.SoyServerFunction<String>
public class ElapsedTimeSoyFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<String>, com.atlassian.soy.renderer.SoyClientFunction
Currently only supports the default 'long' formatting.
-
-
Constructor Summary
Constructors Constructor Description ElapsedTimeSoyFunction(com.opensymphony.xwork2.TextProvider textProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(Object... args)com.atlassian.soy.renderer.JsExpressiongenerate(com.atlassian.soy.renderer.JsExpression... args)StringgetName()Set<Integer>validArgSizes()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfacecom.atlassian.soy.renderer.SoyFunction
-
apply
public String apply(Object... args)
- Specified by:
applyin interfacecom.atlassian.soy.renderer.SoyServerFunction<String>
-
validArgSizes
public Set<Integer> validArgSizes()
- Specified by:
validArgSizesin interfacecom.atlassian.soy.renderer.SoyFunction
-
generate
public com.atlassian.soy.renderer.JsExpression generate(com.atlassian.soy.renderer.JsExpression... args)
- Specified by:
generatein interfacecom.atlassian.soy.renderer.SoyClientFunction
-
-