Package org.jbpm.process.core.correlation

## Class Correlation

- java.lang.Object
- - org.jbpm.process.core.correlation.Correlation

- All Implemented Interfaces:
    `Serializable`

      public class Correlation
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Correlation​(String id, String name)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getId()` |
    `CorrelationProperties` | `getMessageCorrelationFor​(String messageRef)` |
    `String` | `getName()` |
    `CorrelationProperties` | `getProcessSubscription()` |
    `boolean` | `hasCorrelationFor​(String messageRef)` |
    `boolean` | `isSubscribed()` |
    `void` | `subscribe()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Correlation

          public Correlation​(String id,
                             String name)

  - ### Method Detail

    - #### getMessageCorrelationFor

          public CorrelationProperties getMessageCorrelationFor​(String messageRef)

    - #### getId

          public String getId()

    - #### getName

          public String getName()

    - #### subscribe

          public void subscribe()

    - #### isSubscribed

          public boolean isSubscribed()

    - #### getProcessSubscription

          public CorrelationProperties getProcessSubscription()

    - #### hasCorrelationFor

          public boolean hasCorrelationFor​(String messageRef)