Class OsType

  • public final class OsType
    Defines values for OsType.
    • Field Detail

      • WINDOWS

        public static final OsType WINDOWS
        Static value Windows for OsType.
      • LINUX

        public static final OsType LINUX
        Static value Linux for OsType.
      • OTHER

        public static final OsType OTHER
        Static value Other for OsType.
    • Constructor Detail

      • OsType

        public OsType()
    • Method Detail

      • fromString

        public static OsType fromString​(String name)
        Creates or finds a OsType from its string representation.
        name - a name to look for.
        the corresponding OsType.
      • values

        public static Collection<OsType> values()
        Gets known OsType values.
        known OsType values.