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
GeneratedFile
s. This class is suitable for binary files. For text files use
AbstractGeneratedTextFile
.- Author:
- Robert Varga
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MoreObjects.ToStringHelper
final GeneratedFileLifecycle
Return the lifecycle governing this file.final String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getLifecycle
in interfaceGeneratedFile
- Returns:
- Governing lifecycle
-
toString
-
addToStringAttributes
-