Package com.puppetlabs.geppetto.pp.pptp

Examples of com.puppetlabs.geppetto.pp.pptp.NameSpace


   * find in the puppet logic.
   *
   * @param target
   */
  public void loadSettings(TargetEntry target) {
    NameSpace settings = PPTPFactory.eINSTANCE.createNameSpace();
    settings.setReserved(true);
    settings.setName("settings");
    target.getContents().add(settings);

    // Create a wildcard to match all settings::*
    //
    TPVariable wildcard = PPTPFactory.eINSTANCE.createTPVariable();
    wildcard.setName("*");
    wildcard.setAssignable(false);
    settings.getContents().add(wildcard);

    // Add known names in settings (the most common ones). This to avoid
    // warnings
    //
    SettingsData settingsData = new SettingsData();
View Full Code Here

TOP

Related Classes of com.puppetlabs.geppetto.pp.pptp.NameSpace

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.