gitlab.com/evatix-go/core@v1.3.55/internal/internalinterface/all-change-trackers-related.go (about)

     1  package internalinterface
     2  
     3  type CountStateTracker interface {
     4  	IsSameStateUsingCount(
     5  		currentCount int,
     6  	) bool
     7  	IsSameState() bool
     8  	IsSuccessValidator
     9  	HasChangesChecker
    10  }
    11  
    12  type HasChangesChecker interface {
    13  	HasChanges() bool
    14  }
    15  
    16  type DynamicDiffChangesGetter interface {
    17  	DynamicDiffChanges() ([]byte, error)
    18  }
    19  
    20  type DynamicChangeStateDetector interface {
    21  	IsDynamicEqual(rawBytes []byte) bool
    22  	DynamicDiffChangesGetter
    23  	HasChangesChecker
    24  	IsSuccessValidator
    25  	ChangesLogger
    26  	MustChangesLogger
    27  }
    28  
    29  type ChangesLogger interface {
    30  	LogChanges() error
    31  }
    32  
    33  type MustChangesLogger interface {
    34  	LogChangesMust()
    35  }
    36  
    37  type AcceptRejectOrSkipper interface {
    38  	IsAccept() bool
    39  	IsReject() bool
    40  	IsSkip() bool
    41  }
    42  
    43  type YesNoAsker interface {
    44  	IsYes() bool
    45  	IsNo() bool
    46  	IsAsk() bool
    47  	IsIndeterminate() bool
    48  }
    49  
    50  type YesNoAcceptRejecter interface {
    51  	YesNoAsker
    52  	AcceptRejectOrSkipper
    53  }