jadex.bpmn.examples.contractnet.ContractNet.bpmn2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-bpmn Show documentation
Show all versions of jadex-applications-bpmn Show documentation
The Jadex bpmn applications package contains several example applications, benchmarks and testcases using bpmn workflows.
ContractNet
<h1>Contract Net</h1>This process implements initiator and participant of a contract net interaction.
jadex.bpmn.examples.contractnet
java.util.*
jadex.commons.SUtil
jadex.bridge.*
The participant names
The call for proposal content
The subprocess for evaluating proposals.
The subprocess for a participant to make a proposal.
The subprocess of the participant to execute the request.
The message timeout
1000000
SUtil.createUniqueId($component.getComponentIdentifier().getName())
_cOd7YVT6Ed-32983CGnnJA
_wU91AVa6Ed-1RJ7RXx1qjA
_y8pRoVapEd-1RJ7RXx1qjA
_y8pRoVapEd-1RJ7RXx1qjA
_9R7RIVauEd-1RJ7RXx1qjA
_1ybzAVapEd-1RJ7RXx1qjA
_1ybzAVapEd-1RJ7RXx1qjA
_x679AVapEd-1RJ7RXx1qjA
"cfp"
participants
cfp
convid
"fipa-contract-net"
_x679AVapEd-1RJ7RXx1qjA
_M4SJulapEd-1RJ7RXx1qjA
_NmBZelapEd-1RJ7RXx1qjA
_3_QtQVglEd-UBaPlSCV7pQ
jadex.bpmn.runtime.task.InvokeMethodTask
proposals
"add"
new ParticipantProposal($event.getValue("sender"), $event.getValue("content"))
_NmBZelapEd-1RJ7RXx1qjA
_3_QtQVglEd-UBaPlSCV7pQ
"propose"
participants
convid
_M4SJulapEd-1RJ7RXx1qjA
"refuse"
participants
convid
new LinkedHashSet()
participants
false
participants
_8af54VauEd-1RJ7RXx1qjA
timeout
timeout
_8af54VauEd-1RJ7RXx1qjA
_9R7RIVauEd-1RJ7RXx1qjA
_ncPh0VavEd-1RJ7RXx1qjA
eaMqI01HizBqx2PI
_3S3gcVaoEd-1RJ7RXx1qjA
_yBSKsVarEd-1RJ7RXx1qjA
_q-MCylaoEd-1RJ7RXx1qjA
_ulJiYVaoEd-1RJ7RXx1qjA
_t6hi0VguEd-F7Z1jfVSjng
"accept-proposal"
proposals.getParticipant()
proposals.getProposal()
convid
"fipa-contract-net"
_q-MCylaoEd-1RJ7RXx1qjA
_sCuo-laoEd-1RJ7RXx1qjA
_ulJiYVaoEd-1RJ7RXx1qjA
_t6hi0VguEd-F7Z1jfVSjng
jadex.bpmn.runtime.task.InvokeMethodTask
accepted
"add"
proposals
_sCuo-laoEd-1RJ7RXx1qjA
"reject-proposal"
proposals.getParticipant()
proposals.getProposal()
convid
"fipa-contract-net"
proposals
new LinkedHashSet()
proposals
eaMqI01HizBqx2PI
_3S3gcVaoEd-1RJ7RXx1qjA
proposals
epp
epp
_yBSKsVarEd-1RJ7RXx1qjA
_pKWpcVavEd-1RJ7RXx1qjA
_ONRnqldiEd-_rc0-j01YLA
_ONRnqldiEd-_rc0-j01YLA
_1Qi8ClarEd-1RJ7RXx1qjA
_6fXKSlarEd-1RJ7RXx1qjA
_1Qi8ClarEd-1RJ7RXx1qjA
"inform"
accepted.getParticipant()
convid
_6fXKSlarEd-1RJ7RXx1qjA
"failure"
accepted.getParticipant()
convid
accepted
accepted
_mSCYilavEd-1RJ7RXx1qjA
timeout
timeout
_mSCYilavEd-1RJ7RXx1qjA
_ncPh0VavEd-1RJ7RXx1qjA
_pKWpcVavEd-1RJ7RXx1qjA
proposals.isEmpty()
proposals.getEvaluation()!=null && ((Boolean)proposals.getEvaluation()).booleanValue()
_wU91Cla6Ed-1RJ7RXx1qjA
_wU91Cla6Ed-1RJ7RXx1qjA
_3piJalT6Ed-32983CGnnJA
_3piJalT6Ed-32983CGnnJA
_5-1z6lT6Ed-32983CGnnJA
msg.getValue("content")
msg.getValue("sender")
mpp
mpp
_5-1z6lT6Ed-32983CGnnJA
_7gJOmVT6Ed-32983CGnnJA
_-n97KFT6Ed-32983CGnnJA
_7gJOmVT6Ed-32983CGnnJA
_i2I9ilT7Ed-32983CGnnJA
msg.getMessageType().createReply(msg.getParameterMap())
"propose"
proposal
_ts_LQVT7Ed-32983CGnnJA
_1XO6KlT7Ed-32983CGnnJA
$event.getValue("content")
erp
erp
_3XYM-lT7Ed-32983CGnnJA
_i2I9ilT7Ed-32983CGnnJA
_qYG8OlaSEd-1RJ7RXx1qjA
_t40p4VaSEd-1RJ7RXx1qjA
_uUFpkVaSEd-1RJ7RXx1qjA
_qYG8OlaSEd-1RJ7RXx1qjA
_sgKN0VaSEd-1RJ7RXx1qjA
timeout
timeout
_t40p4VaSEd-1RJ7RXx1qjA
_rc4w4VT7Ed-32983CGnnJA
"reject-proposal"
convid
_uUFpkVaSEd-1RJ7RXx1qjA
_ts_LQVT7Ed-32983CGnnJA
"accept-proposal"
convid
_1XO6KlT7Ed-32983CGnnJA
_GCv1OlT8Ed-32983CGnnJA
msg.getMessageType().createReply(msg.getParameterMap())
result
"inform"
_3XYM-lT7Ed-32983CGnnJA
_HOvuQVT8Ed-32983CGnnJA
msg.getMessageType().createReply(msg.getParameterMap())
"failure"
msg.getValue("content")
_-n97KFT6Ed-32983CGnnJA
_eYyVYVaQEd-1RJ7RXx1qjA
msg.getMessageType().createReply(msg.getParameterMap())
"refuse"
msg.getValue("content")
_rc4w4VT7Ed-32983CGnnJA
_GCv1OlT8Ed-32983CGnnJA
_HOvuQVT8Ed-32983CGnnJA
_eYyVYVaQEd-1RJ7RXx1qjA
_sgKN0VaSEd-1RJ7RXx1qjA
$event.getValue("sender")
$event
$event.getValue("conversation_id")
proposal!=null
$event