Codota Logo
ConfigurationProperty.getSystemProperty
Code IndexAdd Codota to your IDE (free)

How to use
getSystemProperty
method
in
org.chorusbdd.chorus.config.ConfigurationProperty

Best Java code snippets using org.chorusbdd.chorus.config.ConfigurationProperty.getSystemProperty (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: Chorus-bdd/Chorus

public static ConfigurationProperty getConfigPropertyForSysProp(String systemProperty) {
  ConfigurationProperty result = null;
  for ( ConfigurationProperty p : values()) {
    if ( p.getSystemProperty().equals(systemProperty)) {
      result = p;
      break;
    }
  }
  return result;
}
origin: Chorus-bdd/Chorus

public String getSystemProperty() {
  return delegate.getSystemProperty();
}
origin: Chorus-bdd/Chorus

/**
 * Add to the provided propertyMap any properties available from this source
 *
 * Where the map already contains property values under a given key, extra property values should be
 * appended to the List
 * @return propertyMap, with parsed properties added
 */
public Map<ConfigurationProperty, List<String>> parseProperties(Map<ConfigurationProperty, List<String>> propertyMap, String... args) {
  for ( ConfigurationProperty p : getProperties()) {
    String value = System.getProperty(p.getSystemProperty());
    if ( value != null ) {
      addValues(propertyMap, p, value);
    }
  }
  return propertyMap;
}
origin: Chorus-bdd/Chorus

  private void checkIfMandatory(Map<ConfigurationProperty, List<String>> results, ConfigurationProperty p) throws InterpreterPropertyException {
    if ( p.isMandatory() && ! results.containsKey(p)) {
      throw new InterpreterPropertyException(
        "Mandatory property " + p + " was not set. " +
        "You can set this property with the -" + p.getSwitchName() + " switch, " +
        "the -" + p.getSwitchShortName() + " switch or the " +
        p.getSystemProperty() + " system property"
      );
    }
  }
}
origin: Chorus-bdd/Chorus

public static ConfigurationProperty getConfigPropertyForSysProp(String systemProperty) {
  ConfigurationProperty result = null;
  for ( ConfigurationProperty p : values()) {
    if ( p.getSystemProperty().equals(systemProperty)) {
      result = p;
      break;
    }
  }
  return result;
}
org.chorusbdd.chorus.configConfigurationPropertygetSystemProperty

Popular methods of ConfigurationProperty

  • getDefaults
  • getExample
  • getHyphenatedSwitch
  • getMaxValueCount
  • getMinValueCount
  • getPropertySourceMode
  • getSwitchName
  • getSwitchShortName
  • getValidatingExpression
  • isMandatory
  • matchesSwitch
  • getDescription
  • matchesSwitch,
  • getDescription,
  • hasDefaults

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • findViewById (Activity)
  • putExtra (Intent)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • BoxLayout (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now