org.apache.maven.plugin.eclipse
Class BuildCommand

java.lang.Object
  extended by org.apache.maven.plugin.eclipse.BuildCommand

public class BuildCommand
extends Object

Represents a buildCommand section in the .project file.

Author:
Kenney Westerhof, Jochen Kuhnle

Constructor Summary
BuildCommand()
          no-arg constructor for plugin configuration.
BuildCommand(String name)
          Creates a new build command
BuildCommand(String name, Map arguments)
           
BuildCommand(String name, String triggers, Map arguments)
          Creates a new build command
BuildCommand(String name, String argName, String argValue)
           
BuildCommand(Xpp3Dom node)
          Creates a new build command from a DOM subtree The subtree must represent a <buildCommand> section from an Eclipse .project file
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 void print(XMLWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildCommand

public BuildCommand()
no-arg constructor for plugin configuration.


BuildCommand

public BuildCommand(String name)
Creates a new build command

Parameters:
name - Command name

BuildCommand

public BuildCommand(String name,
                    Map arguments)

BuildCommand

public BuildCommand(String name,
                    String argName,
                    String argValue)

BuildCommand

public BuildCommand(String name,
                    String triggers,
                    Map arguments)
Creates a new build command

Parameters:
name - Command name
triggers - Command triggers
arguments - Command arguments

BuildCommand

public BuildCommand(Xpp3Dom node)
Creates a new build command from a DOM subtree

The subtree must represent a <buildCommand> section from an Eclipse .project file

Parameters:
node - DOM node
Method Detail

print

public void print(XMLWriter writer)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.