enum class OSType
Enumeration for the OS type of an # installation process.
|
OS type is windows. |
|
|
OS type is a linux. |
|
|
OS type is MacOS. |
|
|
OS type is unknown. |
fun checkClassifierForOS(classifier: String): Boolean
Verify the parameter for the OS information. It will return true, if the string is not empty and matches with the current OS. fun checkClassifierForOS(classifiers: Set<String>): Boolean
Verifies a list of classifiers with available OS. |
|
fun detectedOS(): OSType
Get the OSType enumeration object of the current OS. |
|
fun from(osKey: String): OSType
Get the OSType enumeration object from a string. |