com.atlassian.jira.sharing
Class SharedEntity.TypeDescriptor.Factory

java.lang.Object
  extended by com.atlassian.jira.sharing.SharedEntity.TypeDescriptor.Factory
Enclosing class:
SharedEntity.TypeDescriptor<S extends SharedEntity>

public static final class SharedEntity.TypeDescriptor.Factory
extends Object


Constructor Summary
SharedEntity.TypeDescriptor.Factory()
           
 
Method Summary
<S extends SharedEntity>
SharedEntity.TypeDescriptor<S>
create(String name)
          should only be called by types that implement SharedEntity
static SharedEntity.TypeDescriptor.Factory get()
           
<S extends SharedEntity>
SharedEntity.TypeDescriptor<S>
register(SharedEntity.TypeDescriptor<S> typeDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedEntity.TypeDescriptor.Factory

public SharedEntity.TypeDescriptor.Factory()
Method Detail

get

public static SharedEntity.TypeDescriptor.Factory get()

create

public <S extends SharedEntity> SharedEntity.TypeDescriptor<S> create(String name)
should only be called by types that implement SharedEntity

Parameters:
name - the name of this type
Returns:
the SharedEntity.TypeDescriptor

register

public <S extends SharedEntity> SharedEntity.TypeDescriptor<S> register(SharedEntity.TypeDescriptor<S> typeDescriptor)


Copyright © 2002-2012 Atlassian. All Rights Reserved.