public final class PreferredProjectPlatform extends Object
JavaPlatform
for a new project.Modifier and Type | Method and Description |
---|---|
static JavaPlatform |
getPreferredPlatform(String platformType)
Returns a preferred
JavaPlatform for a new project. |
static void |
setPreferredPlatform(JavaPlatform platform)
Sets a preferred
JavaPlatform for a new project. |
@CheckForNull public static JavaPlatform getPreferredPlatform(@NonNull String platformType)
JavaPlatform
for a new project.platformType
- the platform type as specified by Specification.getName()
JavaPlatform
public static void setPreferredPlatform(@NonNull JavaPlatform platform)
JavaPlatform
for a new project.platform
- the preferred JavaPlatform