smartinspectpython.sifilerotate
Specifies the log rotate mode for the SIFileProtocol class and derived classes.
@classmethod
def
Parse(cls, value: str, defaultValue):
Returns an enum value for the given string representation if found, otherwise the default value.
Arguments:
- value (str): The string representation of the enum value.
- defaultValue (object): The value to use if an enum could not be determined from the value.
Both the Name and Value of the enum are compared for a match.