Class DefaultFunctionFactory.DateFormatFunction
java.lang.Object
com.inductiveautomation.ignition.common.expressions.functions.BaseFunction
com.inductiveautomation.ignition.common.expressions.functions.AbstractFunction
com.inductiveautomation.ignition.common.expressions.DefaultFunctionFactory.DateFormatFunction
- All Implemented Interfaces:
- Function
- Enclosing class:
- DefaultFunctionFactory
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnect(CommonContext context, InteractionListener updateListener) This is to help the function listen for Locale changes broadcast by the EventBus.copy()Returns this.voidThis is to help the function listen for Locale changes broadcast by the EventBus.execute(Expression[] args) Execute this function, and return the function's qualified value.Returns a string to be used in the auto-generated function documentation.protected StringClass<?>getType()Returns the type that this function will return upon executionvoidonLocaleChange(LocaleChangeEvent ignored) voidshutdown()Empty implementation from BaseFunction.voidstartup()Empty implementation from BaseFunction.protected booleanvalidateNumArgs(int num) Methods inherited from class com.inductiveautomation.ignition.common.expressions.functions.AbstractFunctionexecuteArg, initArgs, logMethods inherited from class com.inductiveautomation.ignition.common.expressions.functions.BaseFunctionexecuteAll
- 
Constructor Details- 
DateFormatFunctionpublic DateFormatFunction()
 
- 
- 
Method Details- 
connectThis is to help the function listen for Locale changes broadcast by the EventBus.- Specified by:
- connectin interface- Function
- Overrides:
- connectin class- BaseFunction
 
- 
startuppublic void startup()Description copied from class:BaseFunctionEmpty implementation from BaseFunction. Override if necessary.- Specified by:
- startupin interface- Function
- Overrides:
- startupin class- BaseFunction
 
- 
shutdownpublic void shutdown()Description copied from class:BaseFunctionEmpty implementation from BaseFunction. Override if necessary.- Specified by:
- shutdownin interface- Function
- Overrides:
- shutdownin class- BaseFunction
 
- 
disconnectpublic void disconnect()This is to help the function listen for Locale changes broadcast by the EventBus.- Specified by:
- disconnectin interface- Function
- Overrides:
- disconnectin class- BaseFunction
 
- 
onLocaleChange
- 
getFunctionDisplayName- Specified by:
- getFunctionDisplayNamein class- AbstractFunction
 
- 
copyDescription copied from class:BaseFunctionReturns this. Override to create a clone if you need a unique function object per Expression.- Specified by:
- copyin interface- Function
- Overrides:
- copyin class- BaseFunction
 
- 
executeDescription copied from interface:FunctionExecute this function, and return the function's qualified value.- Throws:
- ExpressionException
 
- 
getArgDocStringDescription copied from interface:FunctionReturns a string to be used in the auto-generated function documentation. The string should represent the arguments for the function, such as "string, count" for the "repeat" function.
- 
getTypeDescription copied from interface:FunctionReturns the type that this function will return upon execution
- 
validateNumArgsprotected boolean validateNumArgs(int num) - Overrides:
- validateNumArgsin class- AbstractFunction
 
 
-