Class NameValuePair<N,V>

java.lang.Object
com.google.jenkins.plugins.util.NameValuePair<N,V>
Type Parameters:
N - The type for the name
V - The type for the value

public class NameValuePair<N,V> extends Object
A name-value pair helper class.
  • Constructor Details

    • NameValuePair

      public NameValuePair(N name, V value)
      Construct a pair from the given name and value.
  • Method Details

    • getName

      public N getName()
      Fetches the name
    • getValue

      public V getValue()
      Fetches the value