Constant Field Values


Contents
<Unnamed>.*

Config
public static final java.lang.String CARGO_LINK "->"
public static final java.lang.String ENGINE_END ")"
public static final java.lang.String ENGINE_START "("
public static final java.lang.String ERROR_CARGO_NOT_FOUND "ERROR: Cargo not found "
public static final java.lang.String ERROR_DEST_NOT_FOUND "ERROR: Train for the destination not found "
public static final java.lang.String ERROR_DEST_OR_CARGO_NOT_FOUND "ERROR: Cargo for the Train heading to the destination not found "
public static final java.lang.String ERROR_FILE_READ "Error occured to load a train from file : "
public static final java.lang.String ERROR_NO_TRAIN_IN_HUB "There is no train in the hub."
public static final java.lang.String ERROR_USAGE "Not supported Arguments\nUsage : java TrainHubMain [-f filename1 filename2 ...]"
public static final java.lang.String ERROR_WRONG_COMMAND "Wrong command. Enter a menu number (1~9)."
public static final int MAX_CART_NUM 100
public static final int MAX_WEIGHT 10000
public static final int MIN_CART_NUM 50
public static final int MIN_WEIGHT 2000
public static final java.lang.String PROMPT_INPUT_CARGO "Enter the Cargo Name : "
public static final java.lang.String PROMPT_INPUT_DEST "Enter the Destination of the Train : "
public static final java.lang.String PROMPT_INPUT_MOVE_DST "Enter the Destination of the Train that cargo is moved to: "
public static final java.lang.String PROMPT_INPUT_MOVE_SRC "Enter the Destination of the Train that has the source chain of cargo: "
public static final java.lang.String PROMPT_MENU "============== HUB CONTROL ==============\n1. Handle a new train arrival\n2. Remove a Cargo car from a departing Train\n3. Get the Weight of a Cargo product from all the departing trains\n4. Depart a Train\n5. Depart All the Trains in Hub\n6. Display a departing Train\n7. Display All departing Trains in Hub\n8. Move matching cargo from src train to dst train\n9. Quit\n========================================="
public static final java.lang.String PROMPT_OUTPUT_WEIGHT "Total weight "
public static final java.lang.String PROMPT_WELCOME_MSG "//// Welcome to UW Train Hub ////"