/**
 * 
 */
package mixconfig.tools.dataretention.smartcard;

/**
 * A LogEntry from the ANONCardApplet already converted into readable form.
 * 
 * @author christoph
 * 
 */
public class LogEntry {

	/**
	 * The instruction code of the logged instruction.
	 */
	private String instruction_code;
	/**
	 * The log message
	 */
	private String message;
	/**
	 * Flag, whether the instruction has been executed.
	 */
	private boolean succeeded;

	/**
	 * @param instruction_code
	 * @param message
	 * @param succeeded
	 */
	public LogEntry(String instruction_code, String message, boolean succeeded) {
		this.instruction_code = instruction_code;
		this.message = message;
		this.succeeded = succeeded;
	}

	/**
	 * @return the instruction_code
	 */
	public String getInstruction_code() {
		return instruction_code;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @return the succeeded
	 */
	public boolean isSucceeded() {
		return succeeded;
	}
}
