@Component public class GQLProjectEntityPropertyFieldContributor extends java.lang.Object implements GQLProjectEntityFieldContributor
| Constructor and Description |
|---|
GQLProjectEntityPropertyFieldContributor(net.nemerosa.ontrack.model.structure.PropertyService propertyService,
GQLTypeProperty property) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<graphql.schema.GraphQLFieldDefinition> |
getFields(java.lang.Class<? extends net.nemerosa.ontrack.model.structure.ProjectEntity> projectEntityClass,
net.nemerosa.ontrack.model.structure.ProjectEntityType projectEntityType)
List of field contributions
|
@Autowired
public GQLProjectEntityPropertyFieldContributor(net.nemerosa.ontrack.model.structure.PropertyService propertyService,
GQLTypeProperty property)
public java.util.List<graphql.schema.GraphQLFieldDefinition> getFields(java.lang.Class<? extends net.nemerosa.ontrack.model.structure.ProjectEntity> projectEntityClass,
net.nemerosa.ontrack.model.structure.ProjectEntityType projectEntityType)
GQLProjectEntityFieldContributorgetFields in interface GQLProjectEntityFieldContributorprojectEntityClass - Class of project entityprojectEntityType - Type of project entitynull is accepted.