Commit d15eef1c authored by GromeTT's avatar GromeTT
Browse files

ENH: Added Documentation for AcceptsLogTransportationJobs

parent d4bae73d
"""This module implements the class AcceptsLogTransportationJobs."""
from ml.ml40.features.functionalities.accepts_jobs import AcceptsJobs from ml.ml40.features.functionalities.accepts_jobs import AcceptsJobs
from ml.fml40.features.properties.values.documents.jobs.log_transportation_job import LogTransportationJob from ml.fml40.features.properties.values.documents.jobs.log_transportation_job import LogTransportationJob
class AcceptsLogTransportationJobs(AcceptsJobs): class AcceptsLogTransportationJobs(AcceptsJobs):
"""This functionality signalizes that LogTransportationJobs can be
processed."""
def __init__(self, name="", identifier=""): def __init__(self, name="", identifier=""):
"""Initializes the object.
:param name: Object name
:param identifier: Identifier
"""
super().__init__( super().__init__(
name=name, name=name,
identifier=identifier) identifier=identifier)
def acceptJob(self, job: LogTransportationJob) -> bool: def acceptJob(self, job: LogTransportationJob) -> bool:
"""Accepts the given LogTransportationJob. Returns true if the job has
been accepted, otherwise returns false.
:param job: LogTransportationJob to be accepted
:rtype: bool
"""
pass pass
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment