CatapultServer  v0.5.0.1 (Elephant)
validation.LineLengthValidator Class Reference
Inheritance diagram for validation.LineLengthValidator:
Collaboration diagram for validation.LineLengthValidator:

Public Member Functions

def __init__ (self, errorReporter, lineLengthLimit=140)
 
def check (self, lineNumber, line)
 
- Public Member Functions inherited from SimpleValidator.SimpleValidator
def __init__ (self, errorReporter)
 
def reset (self, path)
 
def finalize (self)
 

Static Public Member Functions

def formatError (err)
 

Public Attributes

 lineLengthLimit
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'LongLines'
 
string NAME = 'tooLongLines'
 

Constructor & Destructor Documentation

◆ __init__()

def validation.LineLengthValidator.__init__ (   self,
  errorReporter,
  lineLengthLimit = 140 
)

Member Function Documentation

◆ check()

def validation.LineLengthValidator.check (   self,
  lineNumber,
  line 
)

◆ formatError()

def validation.LineLengthValidator.formatError (   err)
static

Member Data Documentation

◆ lineLengthLimit

validation.LineLengthValidator.lineLengthLimit

◆ NAME

string validation.LineLengthValidator.NAME = 'tooLongLines'
static

◆ SUITE_NAME

string validation.LineLengthValidator.SUITE_NAME = 'LongLines'
static

The documentation for this class was generated from the following file: