IResourceTreeChange

public interface IResourceTreeChange

Interface for changes on resource trees between two discrete points in time. A tree represents a change in a resource, and changes in child resources.

Methods

children

Iterable<IResourceTreeChange> children()

Returns changes in children of the changed resource. Only child resources with changes will be returned. The returned changes are also trees, which can be traversed further.

kind

ResourceChangeKind kind()

Returns the kind of change.

resource

FileObject resource()

Returns the resource that has changed.