Class CheckstyleAntTask.Property
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.ant.CheckstyleAntTask.Property
-
- Enclosing class:
- CheckstyleAntTask
public static class CheckstyleAntTask.Property extends java.lang.ObjectRepresents 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.StringgetKey()Gets key.java.lang.StringgetValue()Gets value.voidsetFile(java.io.File file)Sets the property value from a File.voidsetKey(java.lang.String key)Sets key.voidsetValue(java.lang.String value)Sets value.
-
-
-
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
-
-