blob: c041c3a4c3126ee12f94b1b65056494790eca39d [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 Yellow extends BaseState {
private String name;
public Yellow(){
}
public Yellow(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();
}
}
}