Class AbstractGeneratedFile
java.lang.Object
org.opendaylight.yangtools.plugin.generator.api.AbstractGeneratedFile
- All Implemented Interfaces:
Immutable,GeneratedFile
- Direct Known Subclasses:
AbstractGeneratedTextFile
@NonNullByDefault
public abstract class AbstractGeneratedFile
extends Object
implements GeneratedFile
Abstract base class for
GeneratedFiles. This class is suitable for binary files. For text files use
AbstractGeneratedTextFile.- Author:
- Robert Varga
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MoreObjects.ToStringHelperfinal GeneratedFileLifecycleReturn the lifecycle governing this file.final StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opendaylight.yangtools.plugin.generator.api.GeneratedFile
writeBody
-
Constructor Details
-
AbstractGeneratedFile
-
-
Method Details
-
getLifecycle
Return the lifecycle governing this file.- Specified by:
getLifecyclein interfaceGeneratedFile- Returns:
- Governing lifecycle
-
toString
-
addToStringAttributes
-