public static interface CustomizerUtilities.LicensePanelContentHandler
Modifier and Type | Method and Description |
---|---|
String |
getDefaultProjectLicenseLocation()
if no
getProjectLicenseLocation is returned, this method will return the default project location. |
String |
getGlobalLicenseName()
value of pointing to the global license header in the IDE.
|
String |
getProjectLicenseLocation()
raw, unevaluated value points to the file in project space containing the header,
if present takes precedence over
getGlobalLicenseName() |
FileObject |
resolveProjectLocation(String path)
take the value from
getProjectLicenseLocation and evaluate it to FileObject |
void |
setGlobalLicenseName(String newName)
set new value of global license template
|
void |
setProjectLicenseContent(String text)
set the user edited content of the license header file in project space.
|
void |
setProjectLicenseLocation(String newLocation)
new value for project location, null value allowed and is meant to remove the value (to effectively use the global license)
|
String getProjectLicenseLocation()
getGlobalLicenseName()
String getGlobalLicenseName()
FileObject resolveProjectLocation(@NonNull String path)
getProjectLicenseLocation
and evaluate it to FileObjectpath
- void setProjectLicenseLocation(@NullAllowed String newLocation)
newLocation
- void setGlobalLicenseName(@NullAllowed String newName)
newName
- String getDefaultProjectLicenseLocation()
getProjectLicenseLocation
is returned, this method will return the default project location.void setProjectLicenseContent(@NullAllowed String text)
text
-