Style Intelligence v12.0

inetsoft.sree.store
Class ArchiveRule

java.lang.Object
  extended by inetsoft.sree.store.ArchiveRule
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AgeArchiveRule, DateArchiveRule, VersionArchiveRule

public abstract class ArchiveRule
extends Object
implements Serializable

This interface defines the API for archive rule.

See Also:
Serialized Form

Constructor Summary
ArchiveRule()
           
 
Method Summary
static ArchiveRule createArchiveRule(Element rules)
          Create an archive rule object from its XML definition.
abstract  String getArchiveRuleString()
          Get the formatted string representation.
abstract  void process(ReportArchive archive, String path)
          Process this archive rule.
abstract  void writeXML(PrintWriter writer)
          Write itself as XML stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveRule

public ArchiveRule()
Method Detail

writeXML

public abstract void writeXML(PrintWriter writer)
Write itself as XML stream.


process

public abstract void process(ReportArchive archive,
                             String path)
                      throws ArchiveException
Process this archive rule.

Parameters:
archive - report archive.
path - report path.
Throws:
ArchiveException

getArchiveRuleString

public abstract String getArchiveRuleString()
Get the formatted string representation.

Returns:
the formatted string representation.

createArchiveRule

public static ArchiveRule createArchiveRule(Element rules)
                                     throws ArchiveException
Create an archive rule object from its XML definition.

Throws:
ArchiveException

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.