|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Plugin
or a command running with Shell.execute(String)
are aborted.Dependency
to this Project
's immediate list of dependencies.
DependencyFacet.KnownRepository
to the project build system.
Alias
is used when naming a Plugin
or a Facet
, but it can also be used for
custom implementations when combined with the ConstraintInspector.getName(Class)
.Annotation
operations.Facet
abstract class.Project
implementations.JavaResource
whether it exists or not.
JavaResource
whether it exists or not.
Facet
s or PackagingType
sDirectoryResource
contains a project.
DependencyBuilder
instance.
Resource
instance for the target file.
ResourceFacet.getResourceFolder()
- create a file containing the given bytes.
ResourceFacet.getTestResourceFolder()
- create a file containing the
given bytes.
WebResourceFacet.getWebRootDirectory()
- create a FileResource
containing
the given bytes.
WebResourceFacet.getWebRootDirectory()
- create a FileResource
containing
the given String.
Inject
the current working Resource
, e.g:
@Inject @Current JavaResource resource;
Will inject the current resource if and only if it is a Java Resource; otherwise, the injected value will be null.Command
as the plugin default.Dependency
objects.DependencyBuilder
for Dependency
creation & instantiation.Dependency
including its dependency chain, configured
DependencyRepository
instances, and any managed dependency version information.Dependency
versions, DependencyResource
artifacts, and dependencies of a given
Dependency
Plugin
types may rely for a set of
domain-specific operations.Facet
s through CDI.Dependency
.
Package
for this project, returned as a String
Package
for this project, returned as a directory File
DirectoryResource
.
Class
for any dependencies to PackagingType
types.
Project
on which this shell instance is currently operating.
Resource
of the shell.
Resource
on which the Shell is currently operating.
Dependency
for which this DependencyMetadata
was retrieved.
Dependencies
contained within this project.
Dependency
for which this DependencyMetadata
was retrieved.
Dependency
, if it exists in the Project
, and return it.
Dependency
objects to be excluded from this Dependency
's list of inclusions when it
is included in a project.
Facet
type, or throw a FacetNotFoundException
if no
Facet
of that type is registered.
Class
for any dependencies to Facet
types.
Facet
s.
Facet
s matching the given type.
Dependency
.
JavaClass
at the given path relative to JavaSourceFacet.getSourceFolder()
.
JavaClass
from its location on disk, relative to
JavaSourceFacet.getSourceFolder()
.
Dependency
for which this DependencyMetadata
was retrieved.
Dependency
PackagingType
of this Dependency
, if the type is not one of the default supported types,
OTHER
will be returned;
Project
instance on which this Facet
operates.
File
representing the root directory of this Project
DependencyRepository
instances used when building the Dependency
, or any projects which
inherit from it, for which this DependencyMetadata
was retrieved.
FileResource
at the given path relative to
ResourceFacet.getResourceFolder()
.
DirectoryResource
representing the folder this Project
uses to
store package-able, non-source documents (such as configuration files.)
DirectoryResource
s representing the directories this project uses
to contain Project
non-source documents (such as configuration
files.)
Dependency
ScopeType
of this Dependency
, if the type is not one of the default supported types,
ScopeType.OTHER
will be returned;
DirectoryResource
this Project
uses to store package-able source documents (such as .java
files.)
DirectoryResource
s this project uses to contain Project
source documents (such as
.java files.)
JavaClass
at the given path relative to JavaSourceFacet.getTestSourceFolder()
.
JavaClass
from its location on disk, relative to
JavaSourceFacet.getTestSourceFolder()
.
FileResource
at the given path relative to
ResourceFacet.getTestResourceFolder()
.
DirectoryResource
representing the folder this Project
uses to
store test-scoped non-source documents (such as configuration files.)
Files in this directory will never be packaged or deployed except when
running Unit Tests.
DirectoryResource
this Project
uses to store test-scoped source documents (such as .java
files.) Files in this directory will never be packaged or deployed except when running Unit Tests.
Dependency
.
FileResource
relative to the project Web Root
directory: WebResourceFacet.getWebRootDirectory()
DirectoryResource
s for
the current project.
DirectoryResource
containing resources to be deployed to the web-root URL when the
application is published.
Facet
s of the given types; otherwise, if any of the given facet types
is missing, return false.
Project
contains a dependency matching the given Dependency
at any level of
the project hierarchy; return false otherwise.
Project
contains a dependency matching the given Dependency
; return false
otherwise.
DependencyFacet.KnownRepository
is already registered in this project's build system.
Plugin
Facet
or other type.Facet
to be considered installed in the given Project
.
Facet
.
Facet
into the current Project
FileResource
exists and is actually a directory, otherwise return false;
Shell
is currently executing a plugin; otherwise, return false.
Facet
is available for the given Project
, false if otherwise.
ResourceFilter
.
Project
's PackagingType
is changed.Plugin
must implement this interface in order to be detected and installed at framework boot-time.Shell
when it has successfully started up and is ready to accept user input.Shutdown
command event.Shell.isVerbose()
== true
.
Shell.isVerbose()
== true
.
Project
has changed.Project
.ShellPrompt.promptCommon(String, PromptType)
, but will default to a given value if user input is empty.
Enum
, first printing the given message, then returning user input
as a Enum
.
Enum
, first printing the given message, then returning user input
as a Enum
.
ShellPrompt.promptRegex(String, String)
, but will default to a given value if user input is empty.
InputStream
for data.
Facet
to this Project
's internal collection of installed facets.
Resource
if it is actually a resource of the given type; if it is, return a new reference to the
resource as the given type, otherwise return null.
Dependency
from this facet's Project
.
DependencyRepository
from the current project.
Facet
PackagingType
sProject
Class
type for a dependency on an active project.
Resource
type.DependencyResource
artifacts matching the given query, searching in the default
repository.
DependencyResource
artifacts matching the given query, searching in only the given
DependencyRepository
.
DependencyResource
artifacts matching the given query, searching in only the given list
of DependencyRepository
instances.
Dependency
with a populated groupId, versionId, and version range, identify the available
artifacts in all known repositories for this project.
DependencyResource
dependencies for the given query, searching in the default repository.
DependencyResource
dependencies for the given query, searching in only the given
DependencyRepository
.
DependencyResource
dependencies for the given query, searching in only the given list of
DependencyRepository
instances.
DependencyMetadata
for a given Dependency
, searching the default repository.
DependencyMetadata
for a given Dependency
, searching only the given
DependencyRepository
.
DependencyMetadata
for a given Dependency
, searching only the given
DependencyRepository
instances.
Dependency
versions matching the given query, searching in the default repository.
Dependency
versions matching the given query, searching in only the given
DependencyRepository
.
Dependency
versions matching the given query, searching in only the given list of
DependencyRepository
instances.
Resource
has changed.Resource
APIResource
instances during a given operation.Resource
.JavaSourceFacet.getSourceFolder()
- use information in the
given JavaSource
to determine the appropriate package; packages will be created if necessary.
JavaSourceFacet.getTestSourceFolder()
- use
information in the given JavaSource
to determine the appropriate package; packages will be created if
necessary.
Resource
on which the shell should operate.
Facet
for operation on the given Project
.
Shutdown.Status.NORMAL
Shutdown.Status
, now.
Dependency
object into its id representation, for
example: "groupId:artifactId:version"
Dependency
object into its string representation, for
example: "groupId:artifactId:version:scope:packaging"
Facet
from its Project
, and perform any necessary cleanup.
Facet
containing APIs to interact with Java Web Projects
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |