Codota Logo
Execution.getConfig
Code IndexAdd Codota to your IDE (free)

How to use
getConfig
method
in
org.jboss.forge.addon.maven.plugins.Execution

Best Java code snippets using org.jboss.forge.addon.maven.plugins.Execution.getConfig (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: errai/errai

@Override
protected void init() {
 final Execution execution = executions.iterator().next();
 final ConfigurationElement artifactItems = execution.getConfig().getConfigurationElement("artifactItems");
 final ConfigurationElementBuilder artifactItem = (ConfigurationElementBuilder) artifactItems.getChildren().get(0);
 final VersionFacet versionFacet = getProject().getFacet(VersionFacet.class);
 artifactItem.addChild(ConfigurationElementBuilder.create().setName("version")
     .setText(versionFacet.resolveVersion(WildflyDist)));
}
origin: org.jboss.forge.addon/maven-api

private List<PluginExecution> transformExecutions(final MavenPlugin mavenPlugin)
{
 List<PluginExecution> executions = new ArrayList<PluginExecution>();
 for (Execution execution : mavenPlugin.listExecutions())
 {
   PluginExecution pluginExecution = new PluginExecution();
   pluginExecution.setId(execution.getId());
   pluginExecution.setPhase(execution.getPhase());
   pluginExecution.setGoals(execution.getGoals());
   pluginExecution.setConfiguration(parseConfig(execution.getConfig()));
   executions.add(pluginExecution);
 }
 return executions;
}
origin: org.jboss.forge.addon/maven-impl-projects

private boolean processorConfigured(MetaModelProvider provider)
{
 CoordinateBuilder dependency = createProcessorCoordinate().setVersion(null);
 MavenPluginFacet pluginFacet = getFaceted().getFacet(MavenPluginFacet.class);
 if (pluginFacet.hasPlugin(dependency))
 {
   MavenPlugin plugin = pluginFacet.getPlugin(dependency);
   if (plugin.listExecutions().size() > 0)
   {
    Configuration config = plugin.listExecutions().get(0).getConfig();
    if (config.hasConfigurationElement("processors"))
    {
      ConfigurationElement element = config.getConfigurationElement("processors").getChildByName("processor");
      return element.getText().equals(provider.getProcessor());
    }
   }
 }
 return false;
}
org.jboss.forge.addon.maven.pluginsExecutiongetConfig

Popular methods of Execution

  • getId
  • getGoals
  • getPhase

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • getApplicationContext (Context)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • BoxLayout (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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