/** * Converts customWorkspace property to ProjectProperty. * * @throws IOException if any. */ void convertCustomWorkspaceProperty() throws IOException { if (null != customWorkspace && null == getProperty(CUSTOM_WORKSPACE_PROPERTY_NAME)) { setCustomWorkspace(customWorkspace); customWorkspace = null;//Reset to null. No longer needed. } }
/** * Converts customWorkspace property to ProjectProperty. * * @throws IOException if any. */ void convertCustomWorkspaceProperty() throws IOException { if (null != customWorkspace && null == getProperty(CUSTOM_WORKSPACE_PROPERTY_NAME)) { setCustomWorkspace(customWorkspace); customWorkspace = null;//Reset to null. No longer needed. } }
/** * Converts customWorkspace property to ProjectProperty. * * @throws IOException if any. */ void convertCustomWorkspaceProperty() throws IOException { if (null != customWorkspace && null == getProperty(CUSTOM_WORKSPACE_PROPERTY_NAME)) { setCustomWorkspace(customWorkspace); customWorkspace = null;//Reset to null. No longer needed. } }
/** * Converts customWorkspace property to ProjectProperty. * * @throws IOException if any. */ void convertCustomWorkspaceProperty() throws IOException { if (null != customWorkspace && null == getProperty(CUSTOM_WORKSPACE_PROPERTY_NAME)) { setCustomWorkspace(customWorkspace); customWorkspace = null;//Reset to null. No longer needed. } }
@Override public String itemNameFromItem(@Nonnull F parent, @Nonnull J item) { NameProperty property = item.getProperty(NameProperty.class); if (property != null) { return encode(property.getName()); } String name = idealNameFromItem(parent, item); return name == null ? null : encode(name); }
@Override public String itemNameFromItem(@Nonnull F parent, @Nonnull J item) { NameProperty property = item.getProperty(NameProperty.class); if (property != null) { return encode(property.getName()); } String name = idealNameFromItem(parent, item); return name == null ? null : encode(name); }
@Override public String dirNameFromItem(@Nonnull F parent, @Nonnull J item) { NameProperty property = item.getProperty(NameProperty.class); if (property != null) { return mangle(property.getName()); } String name = idealNameFromItem(parent, item); return name == null ? null : mangle(name); }
@Override public String itemNameFromItem(@Nonnull F parent, @Nonnull J item) { NameProperty property = item.getProperty(NameProperty.class); if (property != null) { return encode(property.getName()); } String name = idealNameFromItem(parent, item); return name == null ? null : encode(name); }
@Override public String dirNameFromItem(@Nonnull F parent, @Nonnull J item) { NameProperty property = item.getProperty(NameProperty.class); if (property != null) { return mangle(property.getName()); } String name = idealNameFromItem(parent, item); return name == null ? null : mangle(name); }
@Override public String dirNameFromItem(@Nonnull F parent, @Nonnull J item) { NameProperty property = item.getProperty(NameProperty.class); if (property != null) { return mangle(property.getName()); } String name = idealNameFromItem(parent, item); return name == null ? null : mangle(name); }