CouplingResourceFile

class persalys.CouplingResourceFile(*args)

Resource file metadata for coupling.

Parameters:
pathstr

Path to a resource (file or directory) to copy to the temporary working directory in which the command of the corresponding step is run. Must be absolute.

Methods

getClassName()

Accessor to the object's name.

getName()

Accessor to the object's name.

getPath()

Path accessor.

hasName()

Test if the object is named.

setName(name)

Accessor to the object's name.

setPath(path)

Path accessor.

__init__(*args)
getClassName()

Accessor to the object’s name.

Returns:
class_namestr

The object class name (object.__class__.__name__).

getName()

Accessor to the object’s name.

Returns:
namestr

The name of the object.

getPath()

Path accessor.

Returns:
pathstr

Path

hasName()

Test if the object is named.

Returns:
hasNamebool

True if the name is not empty.

setName(name)

Accessor to the object’s name.

Parameters:
namestr

The name of the object.

setPath(path)

Path accessor.

Parameters:
pathstr

Path to the input file.