Class WXMBootConfigurationNames

java.lang.Object
com.io7m.waxmill.machines.WXMBootConfigurationNames

public final class WXMBootConfigurationNames
extends java.lang.Object
Functions over boot configuration names.
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String checkValid​(java.lang.String name)
    Check that a string represents a valid name.
    static boolean isValid​(java.lang.String name)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isValid

      public static boolean isValid​(java.lang.String name)
      Parameters:
      name - The raw name string
      Returns:
      true if the given string represents a valid name
    • checkValid

      public static java.lang.String checkValid​(java.lang.String name)
      Check that a string represents a valid name.
      Parameters:
      name - The raw name string
      Returns:
      name
      Throws:
      java.lang.IllegalArgumentException - If the string is not a name