Class CheckstyleAntTask.Property

  • Enclosing class:
    CheckstyleAntTask

    public static class CheckstyleAntTask.Property
    extends java.lang.Object
    Represents a property that consists of a key and value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Property()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      Gets key.
      java.lang.String getValue()
      Gets value.
      void setFile​(java.io.File file)
      Sets the property value from a File.
      void setKey​(java.lang.String key)
      Sets key.
      void setValue​(java.lang.String value)
      Sets value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Property

        public Property()
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Gets key.
        Returns:
        the property key
      • setKey

        public void setKey​(java.lang.String key)
        Sets key.
        Parameters:
        key - sets the property key
      • getValue

        public java.lang.String getValue()
        Gets value.
        Returns:
        the property value
      • setValue

        public void setValue​(java.lang.String value)
        Sets value.
        Parameters:
        value - set the property value
      • setFile

        public void setFile​(java.io.File file)
        Sets the property value from a File.
        Parameters:
        file - set the property value from a File