Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class CommitsImpl

extends Object
implements Commits
Class Inheritance
All Implemented Interfaces
org.jooq.Commits, java.lang.Iterable
Static Imports
org.jooq.impl.Tools.map

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv final Map<String, Commit>
pack-priv final Configuration
pack-priv final Commit

Constructor Summary

AccessConstructor and Description
pack-priv
CommitsImpl(Configuration configuration, Commit root)

Method Summary

Modifier and TypeMethod and Description
public void
add(Commit commit)

Implements org.jooq.Commits.add.

Add a commit to the graph.
public void
addAll(Commit... c)

Implements org.jooq.Commits.addAll.

Add all commits to the graph.
public void
addAll(Collection<? extends Commit> c)

Implements org.jooq.Commits.addAll.

Add all commits to the graph.
public final MigrationsType
export()

Implements org.jooq.Commits.export.

Export XML content from this commits graph.
private final List<File>
files(CommitType commit)

public final Commit
get(String id)

Implements org.jooq.Commits.get.

Get a commit from the graph by ID, or null, if the ID was not found.
public final Iterator<Commit>
iterator()

Implements java.lang.Iterable.iterator.

Returns an iterator over elements of type T.
public final Commits
load(MigrationsType migrations)

Implements org.jooq.Commits.load.

Load XML content into this commits graph.
private final Commit
public final Commit
root()

Implements org.jooq.Commits.root.

The root node.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

commitsback to summary
pack-priv final Map<String, Commit> commits
configurationback to summary
pack-priv final Configuration configuration
rootback to summary
pack-priv final Commit root

Constructor Detail

CommitsImplback to summary
pack-priv CommitsImpl(Configuration configuration, Commit root)

Method Detail

addback to summary
public void add(Commit commit)

Implements org.jooq.Commits.add.

Doc from org.jooq.Commits.add.

Add a commit to the graph.

Annotations
@Override
addAllback to summary
public void addAll(Commit... c)

Implements org.jooq.Commits.addAll.

Doc from org.jooq.Commits.addAll.

Add all commits to the graph.

Annotations
@Override
addAllback to summary
public void addAll(Collection<? extends Commit> c)

Implements org.jooq.Commits.addAll.

Doc from org.jooq.Commits.addAll.

Add all commits to the graph.

Annotations
@Override
exportback to summary
public final MigrationsType export()

Implements org.jooq.Commits.export.

Doc from org.jooq.Commits.export.

Export XML content from this commits graph.

Annotations
@Override
filesback to summary
private final List<File> files(CommitType commit)
getback to summary
public final Commit get(String id)

Implements org.jooq.Commits.get.

Doc from org.jooq.Commits.get.

Get a commit from the graph by ID, or null, if the ID was not found.

Annotations
@Override
iteratorback to summary
public final Iterator<Commit> iterator()

Implements java.lang.Iterable.iterator.

Doc from java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

Returns:Iterator<Commit>

an Iterator.

Annotations
@Override
loadback to summary
public final Commits load(MigrationsType migrations)

Implements org.jooq.Commits.load.

Doc from org.jooq.Commits.load.

Load XML content into this commits graph.

Annotations
@Override
loadback to summary
private final Commit load(Map<String, CommitType> map, CommitType commit)
rootback to summary
public final Commit root()

Implements org.jooq.Commits.root.

Doc from org.jooq.Commits.root.

The root node.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override