com.atlassian.confluence.it.admin
Class SimpleSenInformation

java.lang.Object
  extended by com.atlassian.confluence.it.admin.SimpleSenInformation
All Implemented Interfaces:
SenInformation

public class SimpleSenInformation
extends java.lang.Object
implements SenInformation

Simple Sen information class, constructed with a string that should be either the real sen, "MISSING" or null.


Constructor Summary
SimpleSenInformation(java.lang.String senProperty)
           
 
Method Summary
 java.lang.String getSen()
          Retrieves the SEN if known and present, null if not known or missing.
 boolean isMissing()
          Returns true if the license is known to have no SEN.
 boolean isUnknown()
          Returns true if SEN information about this license is known.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSenInformation

public SimpleSenInformation(java.lang.String senProperty)
Method Detail

isUnknown

public boolean isUnknown()
Description copied from interface: SenInformation
Returns true if SEN information about this license is known. Returning false means the the license may or may not have a SEN, but it isn't recorded in the test-system.

Specified by:
isUnknown in interface SenInformation

isMissing

public boolean isMissing()
Description copied from interface: SenInformation
Returns true if the license is known to have no SEN.

Specified by:
isMissing in interface SenInformation

getSen

public java.lang.String getSen()
Description copied from interface: SenInformation
Retrieves the SEN if known and present, null if not known or missing.

Specified by:
getSen in interface SenInformation


Copyright © 2003-2014 Atlassian. All Rights Reserved.