~ubuntu-branches/ubuntu/natty/eucalyptus/natty-updates

« back to all changes in this revision

Viewing changes to clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/BaseMessage.java

  • Committer: Bazaar Package Importer
  • Author(s): Dave Walker (Daviey)
  • Date: 2010-08-13 11:25:25 UTC
  • mfrom: (1.1.42 upstream)
  • Revision ID: james.westby@ubuntu.com-20100813112525-njue79w1vz7nm9qk
Tags: 2.0~bzr1230-0ubuntu1
* New upstream merge, r1230 - bug fixes: 
  - (LP: #617127, #611769, #617032, #613033, #613033, #584497)
* debian/patches/18-priv_security.patch: Added *_iscsitarget.pl scripts to 
  the wrappers.conf whitelist. (LP: #615646)
* debian/patches/15-fix-default-ramdisk.patch: Dropped, fixed applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
  String                correlationId;
13
13
  String                userId;
14
14
  String                effectiveUserId;
15
 
  boolean               _return;
 
15
  Boolean               _return;
16
16
  String                statusMessage;
17
17
  
18
18
  public BaseMessage( ) {
19
19
    super( );
20
20
    this.correlationId = UUID.randomUUID( ).toString( );
 
21
    this._return = true;
21
22
  }
22
23
  
23
24
  public BaseMessage( String userId ) {
24
25
    this( );
25
26
    this.userId = userId;
26
27
    this.effectiveUserId = userId;
27
 
    this._return = true;
28
28
    this.statusMessage = null;
29
29
  }
30
30
  public String getCorrelationId( ) {
42
42
  public void setEffectiveUserId( String effectiveUserId ) {
43
43
    this.effectiveUserId = effectiveUserId;
44
44
  }
45
 
  public boolean get_return( ) {
 
45
  public Boolean get_return( ) {
46
46
    return this._return;
47
47
  }
48
 
  public void set_return( boolean return1 ) {
 
48
  public void set_return( Boolean return1 ) {
49
49
    this._return = return1;
50
50
  }
51
51
  public String getStatusMessage( ) {
142
142
    return reply;
143
143
  }
144
144
  
 
145
  public String toSimpleString( ) {
 
146
    return String.format("%s:%s:%s:%s:%s:%s", this.getClass( ).getSimpleName( ), this.getCorrelationId( ), this.getUserId( ), this.getEffectiveUserId( ), this.get_return( ), this.getStatusMessage( ) );
 
147
  }
145
148
}