Class ModelHandle2.Configuration
java.lang.Object
org.netbeans.modules.maven.api.customizer.ModelHandle2.Configuration
- Direct Known Subclasses:
ModelHandle.Configuration
- Enclosing class:
ModelHandle2
a javabean wrapper for configurations within the project customizer
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
boolean
Identifies the default configuration.boolean
boolean
True, if the configuration was provided but not default or profile.boolean
isShared()
void
setActivatedProfiles
(List<String> activatedProfiles) void
setDefault
(boolean def) void
setDisplayName
(String dn) Sets the display name of this configuration.void
setProperties
(Map<String, String> properties) void
setShared
(boolean shared) toString()
-
Method Details
-
getFileNameExt
-
isDefault
public boolean isDefault()Identifies the default configuration.- Returns:
- true for just the default configuration
- Since:
- 2.148
-
isProvided
public boolean isProvided()True, if the configuration was provided but not default or profile.- Returns:
- true for provided configuration
- Since:
- 2.148
-
setDisplayName
Sets the display name of this configuration.- Parameters:
dn
-- Since:
- 2.148
-
setDefault
public void setDefault(boolean def) -
getActivatedProfiles
-
setActivatedProfiles
-
getProperties
-
setProperties
-
getDisplayName
-
getId
-
isProfileBased
public boolean isProfileBased() -
toString
-