Class AbstractOptions<T>

java.lang.Object
com.powsybl.iidm.serde.AbstractOptions<T>
Direct Known Subclasses:
ExportOptions, ImportOptions

public abstract class AbstractOptions<T> extends Object
Author:
Chamseddine BENHAMED <chamseddine.benhamed at rte-france.com>
  • Field Details

  • Constructor Details

    • AbstractOptions

      public AbstractOptions()
  • Method Details

    • setExtensions

      public abstract T setExtensions(Set<String> extensions)
    • addExtension

      public abstract T addExtension(String extension)
    • getExtensions

      public Optional<Set<String>> getExtensions()
    • withNoExtension

      public boolean withNoExtension()
    • withAllExtensions

      public boolean withAllExtensions()
    • hasAtLeastOneExtension

      public boolean hasAtLeastOneExtension(Set<String> extensions)
    • withExtension

      public boolean withExtension(String extensionName)
    • isThrowExceptionIfExtensionNotFound

      public abstract boolean isThrowExceptionIfExtensionNotFound()
    • getFormat

      public TreeDataFormat getFormat()
    • setFormat

      public T setFormat(TreeDataFormat format)