/** * Creates a {@link Shell} of unknown {@link Type}. * * @return a {@link Shell} */ public static Shell isUnknown() { return new Shell(null); } }
launchOptions.addIfAbsent(Shell.is(Shell.Type.BASH));
/** * Creates a {@link Shell} of the specified {@link Type}. * * @param type the {@link Type} of the {@link Shell} * * @return a {@link Shell} of the specified {@link Type} */ public static Shell is(Type type) { return new Shell(type); }
/** * Creates a {@link Shell} of unknown {@link Type}. * * @return a {@link Shell} */ public static Shell isUnknown() { return new Shell(null); } }
/** * Creates a {@link Shell} of the specified {@link Type}. * * @param type the {@link Type} of the {@link Shell} * * @return a {@link Shell} of the specified {@link Type} */ public static Shell is(Type type) { return new Shell(type); }