smartinspectpython.sifilerotate
Module: sifilerotate.py
Revision History
Date | Version | Description |
---|---|---|
2023/05/30 | 3.0.0.0 | Initial Version. |
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.