Interface TokenValue

  • All Superinterfaces:
    java.io.Serializable

    public interface TokenValue
    extends java.io.Serializable
    Describes a token value for a backend.
    Since:
    2.0
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getValue()  
      static TokenValue of​(java.lang.Object value, org.gradle.api.model.ObjectFactory objects)
      Creates an instance from an arbitrary value.
      static TokenValue of​(java.lang.Object value, org.ysb33r.grolifant5.api.core.ConfigCacheSafeOperations ccso)
      Creates an instance from an arbitrary value.
      static TokenValue of​(java.lang.Object value, org.ysb33r.grolifant5.api.core.ProviderTools pt)
      Creates an instance from an arbitrary value.
    • Method Detail

      • of

        static TokenValue of​(java.lang.Object value,
                             org.gradle.api.model.ObjectFactory objects)
        Creates an instance from an arbitrary value.
        Parameters:
        value - Object that needs to be converted to a value.
        objects - An ObjectFactory.
        Returns:
        An instance of something that implements TokenValue.
      • of

        static TokenValue of​(java.lang.Object value,
                             org.ysb33r.grolifant5.api.core.ProviderTools pt)
        Creates an instance from an arbitrary value.
        Parameters:
        value - Object that needs to be converted to a value.
        pt - An instance of ProviderTools.
        Returns:
        An instance of something that implements TokenValue.
      • of

        static TokenValue of​(java.lang.Object value,
                             org.ysb33r.grolifant5.api.core.ConfigCacheSafeOperations ccso)
        Creates an instance from an arbitrary value.
        Parameters:
        value - Object that needs to be converted to a value.
        ccso - An instancer of ProviderTools.
        Returns:
        An instance of something that implements TokenValue.
      • getValue

        java.lang.String getValue()