org.sonar.process
Class Props
java.lang.Object
org.sonar.process.Props
public class Props
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Props
public Props(Properties props)
contains
public boolean contains(String key)
value
@CheckForNull
public String value(String key)
nonNullValue
public String nonNullValue(String key)
value
@CheckForNull
public String value(String key,
@Nullable
String defaultValue)
valueAsBoolean
public boolean valueAsBoolean(String key)
valueAsBoolean
public boolean valueAsBoolean(String key,
boolean defaultValue)
nonNullValueAsFile
public File nonNullValueAsFile(String key)
valueAsInt
@CheckForNull
public Integer valueAsInt(String key)
valueAsInt
public int valueAsInt(String key,
int defaultValue)
rawProperties
public Properties rawProperties()
set
public Props set(String key,
@Nullable
String value)
setDefault
public void setDefault(String key,
String value)
Copyright © 2009–2015 SonarSource. All rights reserved.