public class LibraryOverrideContext
extends java.lang.Object
LibraryOverride
Constructor and Description |
---|
LibraryOverrideContext(Workspace workspace,
Project project,
JLibrary library) |
Modifier and Type | Method and Description |
---|---|
JLibrary |
getOverriddenLibrary()
Get the library instance being overridden.
|
Project |
getProject()
Get the project referencing the library, or
null if the library
is referenced at the application level. |
Workspace |
getWorkspace()
Get the workspace in this context.
|
public Workspace getWorkspace()
getProject()
returns
null
, then this is the workspace referencing the library at
the application level. Otherwise, it is the workspace containing the
project returned by getProject()
.public Project getProject()
null
if the library
is referenced at the application level.null
if the
library is referenced at the application levelpublic JLibrary getOverriddenLibrary()