Class PartialProtocol

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Command>
com.betterdiff.core.protocol.Protocol
com.betterdiff.core.protocol.PartialProtocol
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Command>, java.util.Collection<Command>, java.util.List<Command>, java.util.RandomAccess

public class PartialProtocol
extends Protocol
Protocol containing commands of a selected phase. When joined with other parts the protocol is valid, but not on its own.
Author:
troomar
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    PartialProtocol​(Phase phase)  
  • Method Summary

    Modifier and Type Method Description
    Phase getPhase()  

    Methods inherited from class com.betterdiff.core.protocol.Protocol

    accept

    Methods inherited from class java.util.ArrayList

    add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize

    Methods inherited from class java.util.AbstractCollection

    containsAll, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, stream, toArray

    Methods inherited from interface java.util.List

    containsAll
  • Constructor Details

    • PartialProtocol

      public PartialProtocol​(Phase phase)
  • Method Details

    • getPhase

      public Phase getPhase()