Package com.puppetlabs.geppetto.pp.pptp

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


   * @param target
   */
  public void loadMetaVariables(TargetEntry target) {
    EList<MetaVariable> metaVars = target.getMetaVariables();

    MetaVariable metaName = PPTPFactory.eINSTANCE.createMetaVariable();
    metaName.setName("name");
    metaName.setDocumentation("");
    metaName.setDeprecated(false);
    metaVars.add(metaName);

    MetaVariable metaTitle = PPTPFactory.eINSTANCE.createMetaVariable();
    metaTitle.setName("title");
    metaTitle.setDocumentation("");
    metaTitle.setDeprecated(false);
    metaVars.add(metaTitle);

    MetaVariable metaModuleName = PPTPFactory.eINSTANCE.createMetaVariable();
    metaModuleName.setName("module_name");
    metaModuleName.setDocumentation("<p>The name of the containing module</p>");
    metaModuleName.setDeprecated(false);
    metaVars.add(metaModuleName);

    MetaVariable callerMetaModuleName = PPTPFactory.eINSTANCE.createMetaVariable();
    callerMetaModuleName.setName("caller_module_name");
    callerMetaModuleName.setDocumentation("<p>The name of the calling module</p>");
    callerMetaModuleName.setDeprecated(false);
    metaVars.add(callerMetaModuleName);
  }
View Full Code Here

TOP

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

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.