TLiferayInputDefinition extends LiferayDefinition { @Override public Set<ConnectorTopology> getSupportedConnectorTopologies() { return EnumSet.of(ConnectorTopology.OUTGOING); } TLiferayInputDefinition(); @Override Class<? extends ComponentProperties>[] getNestedCompatibleComponentPropertiesClass(); @Override Class<? extends ComponentProperties> getPropertyClass(); Property<?>[] getReturnProperties(); @Override RuntimeInfo getRuntimeInfo(
		ExecutionEngine executionEngine,
		ComponentProperties componentProperties,
		ConnectorTopology connectorTopology); @Override Set<ConnectorTopology> getSupportedConnectorTopologies(); @Override boolean isStartable(); static final String COMPONENT_NAME; }
@Test public void testGetSupportedConnectorTopologies() { Set<ConnectorTopology> connectorTopologies = _tLiferayInputDefinition.getSupportedConnectorTopologies(); assertThat(connectorTopologies, contains(ConnectorTopology.OUTGOING)); assertThat( connectorTopologies, not( contains( ConnectorTopology.INCOMING, ConnectorTopology.NONE, ConnectorTopology.INCOMING_AND_OUTGOING))); }