jetbrains.buildServer.web.functions.user
Class ResposibilityFunctions

java.lang.Object
  extended by jetbrains.buildServer.web.functions.user.ResposibilityFunctions

public class ResposibilityFunctions
extends java.lang.Object

Author:
Maxim Podkolzine (maxim.podkolzine@jetbrains.com)

Constructor Summary
ResposibilityFunctions()
           
 
Method Summary
static boolean hasComment(ResponsibilityInfo responsibilityInfo)
          Returns whether the responsibility entry has a non-empty comment.
static boolean hasReporter(ResponsibilityInfo responsibilityInfo)
          Returns whether the responsibility entry has a reporter user.
static boolean hasResponsible(ResponsibilityInfo responsibilityInfo)
          Returns whether the responsibility entry has a responsible user.
static boolean isActive(ResponsibilityInfo responsibilityInfo)
          Returns whether the responsibility is active.
static boolean isFixed(ResponsibilityInfo responsibilityInfo)
          Returns whether the responsibility is fixed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResposibilityFunctions

public ResposibilityFunctions()
Method Detail

isActive

public static boolean isActive(@Nullable
                               ResponsibilityInfo responsibilityInfo)
Returns whether the responsibility is active.

Parameters:
responsibilityInfo - responsibility info
Returns:
whether the responsibility is active

isFixed

public static boolean isFixed(@Nullable
                              ResponsibilityInfo responsibilityInfo)
Returns whether the responsibility is fixed.

Parameters:
responsibilityInfo - responsibility info
Returns:
whether the responsibility is fixed

hasComment

public static boolean hasComment(@Nullable
                                 ResponsibilityInfo responsibilityInfo)
Returns whether the responsibility entry has a non-empty comment.

Parameters:
responsibilityInfo - responsibility info
Returns:
whether the responsibility entry has a non-empty comment

hasResponsible

public static boolean hasResponsible(@Nullable
                                     ResponsibilityInfo responsibilityInfo)
Returns whether the responsibility entry has a responsible user.

Parameters:
responsibilityInfo - responsibility info
Returns:
whether the responsibility entry has a responsible user

hasReporter

public static boolean hasReporter(@Nullable
                                  ResponsibilityInfo responsibilityInfo)
Returns whether the responsibility entry has a reporter user.

Parameters:
responsibilityInfo - responsibility info
Returns:
whether the responsibility entry has a reporter user