package org.to2mbn.jmccc.launch;

import org.to2mbn.jmccc.exec.ProcessMonitor;

/**
 * The result of launching.
 */
public class LaunchResult {

	private ProcessMonitor monitor;
	private Process process;

	public LaunchResult(ProcessMonitor monitor, Process process) {
		this.monitor = monitor;
		this.process = process;
	}

	/**
	 * Gets the game process monitor
	 * 
	 * @return the game monitor
	 */
	public ProcessMonitor getMonitor() {
		return monitor;
	}

	/**
	 * Gets the game process
	 * 
	 * @return the game process
	 */
	public Process getProcess() {
		return process;
	}

}

package org.to2mbn.jmccc.launch;

import org.to2mbn.jmccc.exec.ProcessMonitor;

/**
 * The result of launching.
 */
public class LaunchResult {

	private ProcessMonitor monitor;
	private Process process;

	public LaunchResult(ProcessMonitor monitor, Process process) {
		this.monitor = monitor;
		this.process = process;
	}

	/**
	 * Gets the game process monitor, null if no process has started
	 * 
	 * @return the game monitor, null if no process has started
	 */
	public ProcessMonitor getMonitor() {
		return monitor;
	}

	/**
	 * Gets the game process, null if no process has started
	 * 
	 * @return the game process, null if no process has started
	 */
	public Process getProcess() {
		return process;
	}

}

Update javadoc of LaunchResult, mark fields nullable