Package org.openiaml.model.codegen

Examples of org.openiaml.model.codegen.DefaultRuntimeProperties


  @Override
  protected Map<String, String> getRuntimeProperties() {
    Map<String, String> props = super.getRuntimeProperties();
   
    // change back to default
    Map<String, String> defaults = new DefaultRuntimeProperties().getDefaultProperties();
   
    props.put("email_handler", defaults.get("email_handler"));
   
    return props;
  }
View Full Code Here


   * @see org.openiaml.model.codegen.ICodeGenerator#generateCode(IFile, IProgressMonitor, Map)
   * @return
   */
  protected Map<String, String> getRuntimeProperties() {
    // first, get the default properties
    Map<String,String> properties = new DefaultRuntimeProperties().getDefaultProperties();
   
    // then overwrite
    properties.put("include_runtime", "false");
    properties.put("config_runtime", CONFIG_RUNTIME);
    properties.put("config_web", CONFIG_WEB);
View Full Code Here

   */
  protected Map<String, String> getGoogleMapsRuntimeProperties() {
    Map<String, String> props = super.getRuntimeProperties();
   
    // change back to default
    Map<String, String> defaults = new DefaultRuntimeProperties().getDefaultProperties();
   
    File key = new File(ROOT + "codegen/model0_5/google-maps-api-key.txt");
    assertTrue("You need to specify a Google Maps API key in '" + key + "'", key.exists());
   
    String apiKey;
View Full Code Here

  }

  @Override
  protected Map<String, String> getRuntimeProperties() {
    // get default properties (NOT from super.getRuntimeProperties())
    Map<String, String> result = new DefaultRuntimeProperties().getDefaultProperties();
   
    // we don't let the codegen test case use the settings from the super method
    result.put("include_runtime", "true");
    return result;
  }
View Full Code Here

   *
   * @see DefaultRuntimeProperties#getDefaultProperties()
   * @return
   */
  protected Map<String, String> getDefaultProperties() {
    return new DefaultRuntimeProperties().getDefaultProperties();
  }
View Full Code Here

TOP

Related Classes of org.openiaml.model.codegen.DefaultRuntimeProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.