org.codehaus.plexus.commandline
Class DefaultExecutableResolver
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.commandline.DefaultExecutableResolver
- All Implemented Interfaces:
- ExecutableResolver, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.logging.LogEnabled
- public class DefaultExecutableResolver
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements ExecutableResolver, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
- Version:
- $Id: DefaultExecutableResolver.java 2219 2005-07-08 21:23:44Z evenisse $
- Author:
- Trygve Laugstøl
Fields inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
|
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultPath
private java.lang.String defaultPath
defaultPathList
private java.util.List defaultPathList
DefaultExecutableResolver
public DefaultExecutableResolver()
initialize
public void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
- Specified by:
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
- Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
getDefaultPath
public java.util.List getDefaultPath()
- Specified by:
getDefaultPath
in interface ExecutableResolver
findExecutable
public java.io.File findExecutable(java.lang.String executable)
- Specified by:
findExecutable
in interface ExecutableResolver
findExecutable
public java.io.File findExecutable(java.lang.String executable,
java.util.List path)
- Specified by:
findExecutable
in interface ExecutableResolver
hasExecutable
public boolean hasExecutable(java.lang.String executable)
- Specified by:
hasExecutable
in interface ExecutableResolver
hasExecutable
public boolean hasExecutable(java.lang.String executable,
java.util.List path)
- Specified by:
hasExecutable
in interface ExecutableResolver