Class RuleNameDirective
java.lang.Object
application.model.rules.ruleloader.Directive
application.model.rules.ruleloader.RuleNameDirective
- All Implemented Interfaces:
Exportable
public class RuleNameDirective extends Directive implements Exportable
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RuleNameDirective(java.lang.String content)
-
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
Deep copies the directivejava.lang.String
export()
Exports the directive to Golly / Lifelibjava.lang.String
getName()
void
parseContent(java.lang.String content)
Parses the content of the directive
-
Constructor Details
-
RuleNameDirective
public RuleNameDirective(java.lang.String content)
-
-
Method Details
-
parseContent
public void parseContent(java.lang.String content)Description copied from class:Directive
Parses the content of the directive- Specified by:
parseContent
in classDirective
- Parameters:
content
- The content of the directive
-
clone
public java.lang.Object clone()Description copied from class:Directive
Deep copies the directive -
getName
public java.lang.String getName() -
export
public java.lang.String export()Description copied from interface:Exportable
Exports the directive to Golly / Lifelib- Specified by:
export
in interfaceExportable
- Returns:
- The exported directive to be parsed by Golly or Lifelib
-