Class ExternalVariableServer

  • All Implemented Interfaces:
    com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>

    @Metadata(root=CONFIGURATION,
              virtual=true,
              versioned=false)
    public class ExternalVariableServer
    extends Configuration
    Configuration object for external variables to lookup their value with.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem

        SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getToken()  
      java.lang.String getUrl()  
      int hashCode()  
      java.util.Map<java.lang.String,​java.lang.String> lookup​(java.util.List<PasswordStringVariable> variables)
      Resolves a list of password variables from an external server implementation.
      void setToken​(java.lang.String token)  
      void setUrl​(java.lang.String url)  
      • Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem

        compareTo, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getType, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExternalVariableServer

        public ExternalVariableServer()
    • Method Detail

      • lookup

        public java.util.Map<java.lang.String,​java.lang.String> lookup​(java.util.List<PasswordStringVariable> variables)
        Resolves a list of password variables from an external server implementation. This method is not part of public API. DO NOT use it.
        Parameters:
        variables - the password variables that need resolving
        Returns:
        A map of external server values mapped to Variable#getKey()
        See Also:
        Variable.getKey()
      • getToken

        public java.lang.String getToken()
      • setToken

        public void setToken​(java.lang.String token)
      • getUrl

        public java.lang.String getUrl()
      • setUrl

        public void setUrl​(java.lang.String url)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem