catch up with branch daily
Signed-off-by: Ralf Mollik <ramollik@compex-commerce.com>
diff --git a/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/BPMTaskSummary.java b/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/BPMTaskSummary.java
index 42db7b3..e5df3df 100644
--- a/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/BPMTaskSummary.java
+++ b/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/BPMTaskSummary.java
@@ -206,67 +206,46 @@
}
@Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((activationTime == null) ? 0 : activationTime.hashCode());
- result = prime * result + ((actualOwner == null) ? 0 : actualOwner.hashCode());
- result = prime * result + ((createdBy == null) ? 0 : createdBy.hashCode());
- result = prime * result + ((createdOn == null) ? 0 : createdOn.hashCode());
- result = prime * result + ((description == null) ? 0 : description.hashCode());
- result = prime * result + ((expirationTime == null) ? 0 : expirationTime.hashCode());
- result = prime * result + (int) (id ^ (id >>> 32));
- result = prime * result + (int) (processInstanceId ^ (processInstanceId >>> 32));
- result = prime * result + ((name == null) ? 0 : name.hashCode());
- result = prime * result + priority;
- result = prime * result + (skipable ? 1231 : 1237);
- result = prime * result + ((status == null) ? 0 : status.hashCode());
- result = prime * result + ((subject == null) ? 0 : subject.hashCode());
- result = prime * result + ((processId == null) ? 0 : processId.hashCode());
- result = prime * result + processSessionId;
- return result;
- }
+ public int hashCode() {
+ final int prime = 31;
+ int result = 1;
+ result = prime * result + (int) (id ^ (id >>> 32));
+ result = prime * result + ((name == null) ? 0 : name.hashCode());
+ result = prime * result + priority;
+ result = prime * result + ((processId == null) ? 0 : processId.hashCode());
+ result = prime * result + (int) (processInstanceId ^ (processInstanceId >>> 32));
+ result = prime * result + processSessionId;
+ return result;
+ }
- @Override
- public boolean equals(Object obj) {
- if ( this == obj ) return true;
- if ( obj == null ) return false;
- if ( !(obj instanceof BPMTaskSummary) ) return false;
- BPMTaskSummary other = (BPMTaskSummary) obj;
- if ( processInstanceId != other.processInstanceId) return false;
- if ( activationTime == null ) {
- if ( other.activationTime != null ) return false;
- } else if ( activationTime.getTime() != other.activationTime.getTime() ) return false;
- if ( actualOwner == null ) {
- if ( other.actualOwner != null ) return false;
- } else if ( !actualOwner.equals( other.actualOwner ) ) return false;
- if ( createdBy == null ) {
- if ( other.createdBy != null ) return false;
- } else if ( !createdBy.equals( other.createdBy ) ) return false;
- if ( createdOn == null ) {
- if ( other.createdOn != null ) return false;
- } else if ( createdOn.getTime() != other.createdOn.getTime() ) return false;
- if ( description == null ) {
- if ( other.description != null ) return false;
- } else if ( !description.equals( other.description ) ) return false;
- if ( expirationTime == null ) {
- if ( other.expirationTime != null ) return false;
- } else if ( expirationTime.getTime() != other.expirationTime.getTime() ) return false;
- if ( name == null ) {
- if ( other.name != null ) return false;
- } else if ( !name.equals( other.name ) ) return false;
- if ( priority != other.priority ) return false;
- if ( skipable != other.skipable ) return false;
- if ( status == null ) {
- if ( other.status != null ) return false;
- } else if ( !status.equals( other.status ) ) return false;
- if ( subject == null ) {
- if ( other.subject != null ) return false;
- } else if ( !subject.equals( other.subject ) ) return false;
- if ( processId == null ) {
- if ( other.processId != null ) return false;
- } else if ( !processId.equals( other.processId ) ) return false;
- if ( processSessionId != other.processSessionId ) return false;
- return true;
- }
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+ if (getClass() != obj.getClass())
+ return false;
+ BPMTaskSummary other = (BPMTaskSummary) obj;
+ if (id != other.id)
+ return false;
+ if (name == null) {
+ if (other.name != null)
+ return false;
+ } else if (!name.equals(other.name))
+ return false;
+ if (priority != other.priority)
+ return false;
+ if (processId == null) {
+ if (other.processId != null)
+ return false;
+ } else if (!processId.equals(other.processId))
+ return false;
+ if (processInstanceId != other.processInstanceId)
+ return false;
+ if (processSessionId != other.processSessionId)
+ return false;
+ return true;
+ }
+
}
diff --git a/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBlipBPMFunctionProvider.java b/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBlipBPMFunctionProvider.java
index 5c54a9a..919f30c 100644
--- a/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBlipBPMFunctionProvider.java
+++ b/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBlipBPMFunctionProvider.java
@@ -20,5 +20,6 @@
public interface IBlipBPMFunctionProvider extends IBlipBPMConstants {
Map<String, IBlipBPMStartInfo> getBpmns();
void startProcess(String processName);
+ void startProcess(String processName, Map<String, Object> map);
public IBlipBPMStartInfo getStartInfo(BPMTaskSummary taskSummary);
}