Skip navigation links
C E G I O P U V 

C

current() - Static method in enum io.github.cegredev.josi.OS
 

E

enforce(OS...) - Method in enum io.github.cegredev.josi.OS
Throws an UnsupportedOSException if this operating system is not part of the given array.
enforceFamily(OS.Family...) - Method in enum io.github.cegredev.josi.OS
Throws an UnsupportedOSException if this OS is not part of the given families.
enforceNot(OS...) - Method in enum io.github.cegredev.josi.OS
Throws an UnsupportedOSException if this operating system is part of the given array.
enforceNotFamily(OS.Family...) - Method in enum io.github.cegredev.josi.OS
Throws an UnsupportedOSException if this OS's family is part of the given families.

G

getFamily() - Method in enum io.github.cegredev.josi.OS
 
getRepresentative() - Method in enum io.github.cegredev.josi.OS.Family
 

I

io.github.cegredev.josi - package io.github.cegredev.josi
 
is(OS...) - Method in enum io.github.cegredev.josi.OS
Checks if this OS is part of the given array.
isFamily(OS.Family...) - Method in enum io.github.cegredev.josi.OS
Checks if this OS is part of the given families.

O

OS - Enum in io.github.cegredev.josi
A list of various operating systems, each belonging to a OS.Family.
OS.Family - Enum in io.github.cegredev.josi
Families of operating systems, like Windows, Mac and Linux.

P

pick(T, T, T, T) - Method in enum io.github.cegredev.josi.OS
Picks one of the given values based on the OS.Family of this operating system.
pick(T, T, T) - Method in enum io.github.cegredev.josi.OS
Picks one of the given values based on the OS.Family of this operating system or throws an UnsupportedOSException if there is no value to represent it.
pickLinux(T) - Method in enum io.github.cegredev.josi.OS
Returns the given value if the OS.Family of this OS is Linux or else throws an UnsupportedOSException.
pickLinuxAny(T, T) - Method in enum io.github.cegredev.josi.OS
Returns the given value if the OS.Family of this operating system is Linux, or a default one.
pickMac(T) - Method in enum io.github.cegredev.josi.OS
Returns the given value if the OS.Family of this OS is Mac or else throws an UnsupportedOSException.
pickMacAny(T, T) - Method in enum io.github.cegredev.josi.OS
Returns the given value if the OS.Family of this operating system is Mac, or a default one.
pickMacLinux(T, T) - Method in enum io.github.cegredev.josi.OS
Picks one of the given values based on the OS.Family of this operating system or throws an UnsupportedOSException if there is no value to represent it.
pickMacLinuxAny(T, T, T) - Method in enum io.github.cegredev.josi.OS
Picks one of the given values based on the OS.Family of this operating system or a default one.
pickWindows(T) - Method in enum io.github.cegredev.josi.OS
Returns the given value if the OS.Family of this OS is Windows or else throws an UnsupportedOSException.
pickWindowsAny(T, T) - Method in enum io.github.cegredev.josi.OS
Returns the given value if the OS.Family of this operating system is Windows, or a default one.
pickWinLinux(T, T) - Method in enum io.github.cegredev.josi.OS
Picks one of the given values based on the OS.Family of this operating system or throws an UnsupportedOSException if there is no value to represent it.
pickWinLinuxAny(T, T, T) - Method in enum io.github.cegredev.josi.OS
Picks one of the given values based on the OS.Family of this operating system or a default one.
pickWinMac(T, T) - Method in enum io.github.cegredev.josi.OS
Picks one of the given values based on the OS.Family of this operating system or throws an UnsupportedOSException if there is no value to represent it.
pickWinMacAny(T, T, T) - Method in enum io.github.cegredev.josi.OS
Picks one of the given values based on the OS.Family of this operating system or a default one.

U

UnsupportedOSException - Exception in io.github.cegredev.josi
Thrown when a given operating system is not supported.
UnsupportedOSException(OS) - Constructor for exception io.github.cegredev.josi.UnsupportedOSException
 
UnsupportedOSException() - Constructor for exception io.github.cegredev.josi.UnsupportedOSException
Uses the current operating system as the OS value.

V

valueOf(String) - Static method in enum io.github.cegredev.josi.OS.Family
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.cegredev.josi.OS
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.cegredev.josi.OS.Family
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.cegredev.josi.OS
Returns an array containing the constants of this enum type, in the order they are declared.
C E G I O P U V 
Skip navigation links

Copyright © 2021. All rights reserved.