Provides the required methods to successfully handle each
Instance
class.
new()
Creates a Instance
object.
Instance$new(path)
path
A character
value. Path of the file.
obtainDate()
Abstract function responsible for obtaining the date of the
Instance
.
Instance$obtainDate()
obtainSource()
Abstract function responsible for determining the source of
the Instance
.
Instance$obtainSource()
getDate()
Gets the date.
Instance$getDate()
Value of date.
getSource()
Gets the source.
Instance$getSource()
Value of source.
getPath()
Gets the path.
Instance$getPath()
Value of path.
getData()
Gets the data.
Instance$getData()
Value of data.
getProperties()
Gets the properties
Instance$getProperties()
Value of properties.
setSource()
Modifies the source value.
Instance$setSource(source)
source
A character
value. The new value of source.
setData()
Modifies the data value.
Instance$setData(data)
data
A character
value. The new value of data.
setDate()
Modifies the date value.
Instance$setDate(date)
date
A character
value. The new value of date.
setProperties()
Modifies the properties value.
Instance$setProperties(properties)
properties
A list
value. The new list of properties.
addProperties()
Adds a property to the list of the properties.
Instance$addProperties(propertyValue, propertyName)
propertyValue
A Object
value. The value of the new property.
propertyName
A character
value. The name of the new
property.
getSpecificProperty()
Obtains a specific property.
Instance$getSpecificProperty(propertyName)
propertyName
A character
value. The name of the
property to obtain.
The value of the specific property.
isSpecificProperty()
Checks for the existence of an specific property.
Instance$isSpecificProperty(propertyName)
propertyName
A character
value. The name of the
property to check.
A logical results according to the existence of the specific property in the list of properties.
setSpecificProperty()
Modifies the value of the one property.
Instance$setSpecificProperty(propertyName, propertyValue)
propertyName
A character
value. The name of the
property.
propertyValue
A Object
value. The new value of the property.
getNamesOfProperties()
Gets of the names of all properties.
Instance$getNamesOfProperties()
The names of properties.
isInstanceValid()
Checks if the Instance
is valid.
Instance$isInstanceValid()
Value of isValid flag.
invalidate()
Forces the invalidation of an specific Instance
.
Instance$invalidate()
getFlowPipes()
Gets the list of the flow of GenericPipe
.
Instance$getFlowPipes()
Names of the GenericPipe
used.
addFlowPipes()
Gets the list of the flow of GenericPipe
.
Instance$addFlowPipes(namePipe)
namePipe
A character
value. Name of the new
GenericPipe
to be added in the GenericPipeline
.
getBanPipes()
Gets an array with containing all the ban
GenericPipe
.
Instance$getBanPipes()
Value of ban GenericPipe
array.
addBanPipes()
Added the name of the Pipe to the array that keeps the track
of GenericPipes
having running after restrictions.
Instance$addBanPipes(namePipe)
namePipe
A character
value.
GenericPipe
name to be introduced into the ban array.
checkCompatibility()
Check compatibility between GenericPipes
.
Instance$checkCompatibility(namePipe, alwaysBefore)
namePipe
A character
value. The name of the
GenericPipe
name to check the compatibility.
alwaysBefore
A list
value.
GenericPipes
that the Instance
had to go
through.
Instance
character
representation
clone()
The objects of this class are cloneable with this method.
Instance$clone(deep = FALSE)
deep
Whether to make a deep clone.
ExtractorEml
, ExtractorSms
,
ExtractorYtbid