Class ExpressionsSupport.JsonExpressionFunctionProvider

java.lang.Object
com.netflix.spinnaker.kork.expressions.ExpressionsSupport.JsonExpressionFunctionProvider
All Implemented Interfaces:
com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider, com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint, org.pf4j.ExtensionPoint
Enclosing class:
ExpressionsSupport

public static class ExpressionsSupport.JsonExpressionFunctionProvider extends Object implements com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider

    com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.FunctionDefinition, com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.FunctionDocumentation, com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.FunctionParameter, com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.Functions, com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.FunctionUsageExample
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.Functions
     
     
    static String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint

    getExtensionClass, getPluginId
  • Constructor Details

    • JsonExpressionFunctionProvider

      public JsonExpressionFunctionProvider()
  • Method Details

    • toJson

      public static String toJson(Object o)
      Parameters:
      o - represents an object to convert to json
      Returns:
      json representation of the said object
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider
    • getFunctions

      public com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider.Functions getFunctions()
      Specified by:
      getFunctions in interface com.netflix.spinnaker.kork.api.expressions.ExpressionFunctionProvider