| Modifier and Type | Field and Description | 
|---|---|
| static LibraryScope | LibraryScope. COMPILEThe library is used at compile time and runtime. | 
| static LibraryScope | LibraryScope. CUSTOMMarker for custom scope when custom configuration is used. | 
| static LibraryScope | LibraryScope. PROVIDEDThe library is needed for compile but is usually provided when running. | 
| static LibraryScope | LibraryScope. RUNTIMEThe library is used at runtime but not needed for compile. | 
| Modifier and Type | Method and Description | 
|---|---|
| LibraryScope | Library. getScope()Return the scope of the library. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | Layouts.Jar. getLibraryDestination(String libraryName,
                     LibraryScope scope) | 
| String | Layouts.War. getLibraryDestination(String libraryName,
                     LibraryScope scope) | 
| String | Layout. getLibraryDestination(String libraryName,
                     LibraryScope scope)Returns the destination path for a given library. | 
| Constructor and Description | 
|---|
| Library(File file,
       LibraryScope scope)Create a new  Library. | 
| Library(File file,
       LibraryScope scope,
       boolean unpackRequired)Create a new  Library. | 
| Library(String name,
       File file,
       LibraryScope scope,
       boolean unpackRequired)Create a new  Library. | 
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.