You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
366 B
22 lines
366 B
package de.srsoftware.web4rail.actions; |
|
|
|
import java.io.IOException; |
|
|
|
import de.srsoftware.web4rail.BaseClass; |
|
|
|
public class SavePlan extends Action{ |
|
|
|
public SavePlan(BaseClass parent) { |
|
super(parent); |
|
} |
|
|
|
@Override |
|
public boolean fire(Context context) { |
|
try { |
|
plan.stream(plan.save()); |
|
} catch (IOException e) { |
|
return false; |
|
} |
|
return true; |
|
} |
|
}
|
|
|