1 package com
.intellij
.execution
;
3 import org
.jdom
.Element
;
6 * @author Eugene Zhuravlev
9 public abstract class BeforeRunTask
implements Cloneable
{
10 private boolean myIsEnabled
;
12 public boolean isEnabled() {
16 public void setEnabled(boolean isEnabled
) {
17 myIsEnabled
= isEnabled
;
20 public void writeExternal(Element element
) {
21 element
.setAttribute("enabled", String
.valueOf(myIsEnabled
));
24 public void readExternal(Element element
) {
25 myIsEnabled
= Boolean
.valueOf(element
.getAttributeValue("enabled")).booleanValue();
28 public BeforeRunTask
clone() {
30 return (BeforeRunTask
)super.clone();
32 catch (CloneNotSupportedException ignored
) {