blob: 232570f20c825739cd17a26c2759d6156716748d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.ote.statemachine;
public class Red extends BaseState {
private String name;
public Red(){
}
public Red(String name){
this.name = name;
}
@Override
public void run(BaseInput intput) {
}
@Override
public void entry() {
}
@Override
public void exit() {
}
public String toString(){
if(name != null){
return name;
} else {
return super.toString();
}
}
}